#C8A2F9#C8A2F9

#C8A2F9 is a light, vivid violet. Relative luminance 0.450; OKLCH L 77.8% C 0.127 H 303.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C8A2F9
RGBrgb(200, 162, 249)
HSLhsl(266, 88%, 81%)
HSVhsv(266, 35%, 98%)
CMYKcmyk(19.7%, 34.9%, 0%, 2.4%)
CIE-LABlab(72.87, 30.65, -38.19)
CIE-LCHlch(72.87, 48.97, 308.75°)
OKLaboklab(77.82% 0.0704 -0.1057)
OKLCHoklch(77.82% 0.127 303.7)
XYZxyz(53.8351, 44.9597, 95.4461)
Luminance0.4496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2F9 #D3F9A2
analogous
#A2A7F9 #C8A2F9 #F4A2F9
triadic
#C8A2F9 #F9C8A2 #A2F9C8
tetradic
#C8A2F9 #F9A2A7 #D3F9A2 #A2F9F4
square
#C8A2F9 #F9A2A7 #D3F9A2 #A2F9F4
split-complementary
#C8A2F9 #F9F4A2 #A7F9A2
monochromatic
#842FF2 #A669F5 #C8A2F9 #EADBFD #EEE2FD

Accessibility & contrast

On white

2.10
#C8A2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#C8A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2F9
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2F9#FFFFFF#000000##000000
##C8A2F91.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FC
Deuteranopia (green-blind)
#96B3F7
Tritanopia (blue-blind)
#C0AFC2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a2f9;
/* rgb */ color: rgb(200, 162, 249);
/* oklch */ color: oklch(77.8% 0.127 303.7);
Tailwind
colors: {
  custom: {
    50: '#dabefb',
    500: '#c8a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2f9;
$custom-light: #dabefb;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2f9",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 266.207,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77822,
    "c": 0.12696,
    "h": 303.7
  },
  "luminance": 0.4496
}

Semantic roles & 50–950 ramp

primary
#C8A2F9
secondary
#E7F5D6
accent
#E40181
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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