#C8A8FC#C8A8FC

#C8A8FC is a light, vivid violet. Relative luminance 0.473; OKLCH L 79.0% C 0.121 H 301.2°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#C8A8FC
RGBrgb(200, 168, 252)
HSLhsl(263, 93%, 82%)
HSVhsv(263, 33%, 99%)
CMYKcmyk(20.6%, 33.3%, 0%, 1.2%)
CIE-LABlab(74.39, 28.03, -37.45)
CIE-LCHlch(74.39, 46.77, 306.81°)
OKLaboklab(79.02% 0.0627 -0.1036)
OKLCHoklch(79.02% 0.121 301.2)
XYZxyz(55.3890, 47.3128, 98.2908)
Luminance0.4731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A8FC #DCFCA8
analogous
#A8B2FC #C8A8FC #F2A8FC
triadic
#C8A8FC #FCC8A8 #A8FCC8
tetradic
#C8A8FC #FCA8B2 #DCFCA8 #A8FCF2
square
#C8A8FC #FCA8B2 #DCFCA8 #A8FCF2
split-complementary
#C8A8FC #FCF2A8 #B2FCA8
monochromatic
#7D32F8 #A36DFA #C8A8FC #ECE1FE #ECE1FE

Accessibility & contrast

On white

2.01
#C8A8FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#C8A8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A8FC
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A8FC#FFFFFF#000000##000000
##C8A8FC1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FF
Deuteranopia (green-blind)
#9BB7FA
Tritanopia (blue-blind)
#BFB5C7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8a8fc;
/* rgb */ color: rgb(200, 168, 252);
/* oklch */ color: oklch(79.0% 0.121 301.2);
Tailwind
colors: {
  custom: {
    50: '#dac2fd',
    500: '#c8a8fc',
    950: '#000000',
  },
}
SCSS
$custom: #c8a8fc;
$custom-light: #dac2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a8fc",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 252
  },
  "hsl": {
    "h": 262.857,
    "s": 93.333,
    "l": 82.353
  },
  "oklch": {
    "l": 0.79024,
    "c": 0.12106,
    "h": 301.2
  },
  "luminance": 0.47313
}

Semantic roles & 50–950 ramp

primary
#C8A8FC
secondary
#E9F6D5
accent
#E6008E
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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