#C8A5FA

A color in the Violet family

#c8a5fa is a color in the Violet family: RGB(200, 165, 250), HSL(265°, 89%, 81%), CMYK(20%, 34%, 0%, 2%). Closest named color: plum. Contrast is 2.06:1 on white and 10.22:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c8a5fa
RGBrgb(200 165 250)
RGB (legacy)rgb(200, 165, 250)
RGB %rgb(78% 65% 98%)
HSLhsl(265 89% 81%)
HSV / HSBhsv(265, 34%, 98%)
HWBhwb(265 65% 2%)
CMYKcmyk(20%, 34%, 0%, 2%)
CIELAB (D50)lab(73.3 25.58 -37.79)
LCHlch(73.3 45.64 304.09)
OKLaboklab(0.784 0.0664 -0.1039)
OKLCHoklch(0.784 0.1233 302.57)
Decimal13149690

Properties

Color ToneViolet
Closest named colorplum ΔE 5
Closest web-safe color#cc99ff
Hue265°
Saturation (HSL / HSV)89% / 34%
Lightness (HSL)81%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)73% / 70%
Relative luminance (WCAG)0.4609
Red / Green / Blue200 / 165 / 250

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.06:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.22:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 40 / -62.3 · As background with white / black text: Lc -44.5 / 63.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #c8a5fa;
  --color-brand-oklch: oklch(78.4% 0.1233 302.57);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(200 165 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c8a5fa] text-[#c8a5fa] border-[#c8a5fa]">