#CFA8FC#CFA8FC

#CFA8FC is a light, vivid violet. Relative luminance 0.483; OKLCH L 79.6% C 0.123 H 305.1°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CFA8FC
RGBrgb(207, 168, 252)
HSLhsl(268, 93%, 82%)
HSVhsv(268, 33%, 99%)
CMYKcmyk(17.9%, 33.3%, 0%, 1.2%)
CIE-LABlab(75.01, 30.09, -36.43)
CIE-LCHlch(75.01, 47.25, 309.56°)
OKLaboklab(79.65% 0.0706 -0.1005)
OKLCHoklch(79.65% 0.123 305.1)
XYZxyz(57.3019, 48.2992, 98.3805)
Luminance0.4830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA8FC #D5FCA8
analogous
#A8ABFC #CFA8FC #F9A8FC
triadic
#CFA8FC #FCCFA8 #A8FCCF
tetradic
#CFA8FC #FCA8AB #D5FCA8 #A8FCF9
square
#CFA8FC #FCA8AB #D5FCA8 #A8FCF9
split-complementary
#CFA8FC #FCF9A8 #ABFCA8
monochromatic
#8E32F8 #AE6DFA #CFA8FC #EFE1FE #EFE1FE

Accessibility & contrast

On white

1.97
#CFA8FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CFA8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA8FC
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA8FC#FFFFFF#000000##000000
##CFA8FC1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FF
Deuteranopia (green-blind)
#9EB9FA
Tritanopia (blue-blind)
#C8B4C7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfa8fc;
/* rgb */ color: rgb(207, 168, 252);
/* oklch */ color: oklch(79.6% 0.123 305.1);
Tailwind
colors: {
  custom: {
    50: '#dec2fd',
    500: '#cfa8fc',
    950: '#000000',
  },
}
SCSS
$custom: #cfa8fc;
$custom-light: #dec2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa8fc",
  "rgb": {
    "r": 207,
    "g": 168,
    "b": 252
  },
  "hsl": {
    "h": 267.857,
    "s": 93.333,
    "l": 82.353
  },
  "oklch": {
    "l": 0.79648,
    "c": 0.12283,
    "h": 305.1
  },
  "luminance": 0.48299
}

Semantic roles & 50–950 ramp

primary
#CFA8FC
secondary
#E7F6D5
accent
#E6007B
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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