#C8A5F9#C8A5F9

#C8A5F9 is a light, vivid violet. Relative luminance 0.460; OKLCH L 78.4% C 0.122 H 302.8°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#C8A5F9
RGBrgb(200, 165, 249)
HSLhsl(265, 88%, 81%)
HSVhsv(265, 34%, 98%)
CMYKcmyk(19.7%, 33.7%, 0%, 2.4%)
CIE-LABlab(73.56, 29.01, -37.11)
CIE-LCHlch(73.56, 47.10, 308.01°)
OKLaboklab(78.35% 0.0662 -0.1026)
OKLCHoklch(78.35% 0.122 302.8)
XYZxyz(54.3699, 46.0292, 95.6244)
Luminance0.4603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5F9 #D6F9A5
analogous
#A5ACF9 #C8A5F9 #F2A5F9
triadic
#C8A5F9 #F9C8A5 #A5F9C8
tetradic
#C8A5F9 #F9A5AC #D6F9A5 #A5F9F2
square
#C8A5F9 #F9A5AC #D6F9A5 #A5F9F2
split-complementary
#C8A5F9 #F9F2A5 #ACF9A5
monochromatic
#8232F1 #A56CF5 #C8A5F9 #EBDEFD #EDE2FD

Accessibility & contrast

On white

2.06
#C8A5F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#C8A5F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5F9
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5F9#FFFFFF#000000##000000
##C8A5F91.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B4FC
Deuteranopia (green-blind)
#99B5F7
Tritanopia (blue-blind)
#C0B2C4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a5f9;
/* rgb */ color: rgb(200, 165, 249);
/* oklch */ color: oklch(78.4% 0.122 302.8);
Tailwind
colors: {
  custom: {
    50: '#dac0fb',
    500: '#c8a5f9',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5f9;
$custom-light: #dac0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5f9",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 249
  },
  "hsl": {
    "h": 265,
    "s": 87.5,
    "l": 81.176
  },
  "oklch": {
    "l": 0.78355,
    "c": 0.12206,
    "h": 302.8
  },
  "luminance": 0.46029
}

Semantic roles & 50–950 ramp

primary
#C8A5F9
secondary
#E8F5D6
accent
#E40186
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A5F9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C8A5F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva