#CFA6FB#CFA6FB

#CFA6FB is a light, vivid violet. Relative luminance 0.475; OKLCH L 79.3% C 0.125 H 305.9°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CFA6FB
RGBrgb(207, 166, 251)
HSLhsl(269, 91%, 82%)
HSVhsv(269, 34%, 98%)
CMYKcmyk(17.5%, 33.9%, 0%, 1.6%)
CIE-LABlab(74.51, 30.97, -36.67)
CIE-LCHlch(74.51, 48.00, 310.18°)
OKLaboklab(79.25% 0.0731 -0.1012)
OKLCHoklch(79.25% 0.125 305.9)
XYZxyz(56.7775, 47.5032, 97.4260)
Luminance0.4750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA6FB #D2FBA6
analogous
#A6A8FB #CFA6FB #F9A6FB
triadic
#CFA6FB #FBCFA6 #A6FBCF
tetradic
#CFA6FB #FBA6A8 #D2FBA6 #A6FBF9
square
#CFA6FB #FBA6A8 #D2FBA6 #A6FBF9
split-complementary
#CFA6FB #FBF9A6 #A8FBA6
monochromatic
#9031F6 #AF6BF8 #CFA6FB #EFE1FE #EFE2FE

Accessibility & contrast

On white

2.00
#CFA6FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CFA6FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA6FB
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA6FB#FFFFFF#000000##000000
##CFA6FB1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FE
Deuteranopia (green-blind)
#9DB8F9
Tritanopia (blue-blind)
#C9B3C5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfa6fb;
/* rgb */ color: rgb(207, 166, 251);
/* oklch */ color: oklch(79.3% 0.125 305.9);
Tailwind
colors: {
  custom: {
    50: '#dec0fd',
    500: '#cfa6fb',
    950: '#000000',
  },
}
SCSS
$custom: #cfa6fb;
$custom-light: #dec0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa6fb",
  "rgb": {
    "r": 207,
    "g": 166,
    "b": 251
  },
  "hsl": {
    "h": 268.941,
    "s": 91.398,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79251,
    "c": 0.12486,
    "h": 305.9
  },
  "luminance": 0.47503
}

Semantic roles & 50–950 ramp

primary
#CFA6FB
secondary
#E6F6D5
accent
#E60077
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA6FB

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

Preview Lab → · Contrast checker → · Palette generator →

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