#CFA5FD#CFA5FD

#CFA5FD is a light, vivid violet. Relative luminance 0.473; OKLCH L 79.2% C 0.129 H 305.6°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#CFA5FD
RGBrgb(207, 165, 253)
HSLhsl(269, 96%, 82%)
HSVhsv(269, 35%, 99%)
CMYKcmyk(18.2%, 34.8%, 0%, 0.8%)
CIE-LABlab(74.36, 31.95, -37.98)
CIE-LCHlch(74.36, 49.63, 310.07°)
OKLaboklab(79.16% 0.075 -0.1049)
OKLCHoklch(79.16% 0.129 305.6)
XYZxyz(56.9134, 47.2678, 99.0348)
Luminance0.4727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA5FD #D3FDA5
analogous
#A5A7FD #CFA5FD #FBA5FD
triadic
#CFA5FD #FDCFA5 #A5FDCF
tetradic
#CFA5FD #FDA5A7 #D3FDA5 #A5FDFB
square
#CFA5FD #FDA5A7 #D3FDA5 #A5FDFB
split-complementary
#CFA5FD #FDFBA5 #A7FDA5
monochromatic
#8F2DFA #AF69FC #CFA5FD #EFE1FE #EFE1FE

Accessibility & contrast

On white

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

On black

10.45
#CFA5FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA5FD
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA5FD#FFFFFF#000000##000000
##CFA5FD1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FF
Deuteranopia (green-blind)
#9BB7FB
Tritanopia (blue-blind)
#C8B2C6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfa5fd;
/* rgb */ color: rgb(207, 165, 253);
/* oklch */ color: oklch(79.2% 0.129 305.6);
Tailwind
colors: {
  custom: {
    50: '#dfc0fe',
    500: '#cfa5fd',
    950: '#000000',
  },
}
SCSS
$custom: #cfa5fd;
$custom-light: #dfc0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa5fd",
  "rgb": {
    "r": 207,
    "g": 165,
    "b": 253
  },
  "hsl": {
    "h": 268.636,
    "s": 95.652,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79164,
    "c": 0.129,
    "h": 305.6
  },
  "luminance": 0.47268
}

Semantic roles & 50–950 ramp

primary
#CFA5FD
secondary
#E6F7D4
accent
#E60078
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CFA5FD

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

Preview Lab → · Contrast checker → · Palette generator →

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