#CFA4FD#CFA4FD

#CFA4FD is a light, vivid violet. Relative luminance 0.469; OKLCH L 79.0% C 0.131 H 305.8°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#CFA4FD
RGBrgb(207, 164, 253)
HSLhsl(269, 96%, 82%)
HSVhsv(269, 35%, 99%)
CMYKcmyk(18.2%, 35.2%, 0%, 0.8%)
CIE-LABlab(74.13, 32.49, -38.34)
CIE-LCHlch(74.13, 50.26, 310.28°)
OKLaboklab(78.99% 0.0764 -0.106)
OKLCHoklch(78.99% 0.131 305.8)
XYZxyz(56.7337, 46.9085, 98.9749)
Luminance0.4691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA4FD #D2FDA4
analogous
#A4A6FD #CFA4FD #FCA4FD
triadic
#CFA4FD #FDCFA4 #A4FDCF
tetradic
#CFA4FD #FDA4A6 #D2FDA4 #A4FDFC
square
#CFA4FD #FDA4A6 #D2FDA4 #A4FDFC
split-complementary
#CFA4FD #FDFCA4 #A6FDA4
monochromatic
#902CFA #AF68FC #CFA4FD #EFE0FE #EFE1FE

Accessibility & contrast

On white

2.02
#CFA4FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#CFA4FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA4FD
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA4FD#FFFFFF#000000##000000
##CFA4FD1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#9AB7FA
Tritanopia (blue-blind)
#C8B1C5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfa4fd;
/* rgb */ color: rgb(207, 164, 253);
/* oklch */ color: oklch(79.0% 0.131 305.8);
Tailwind
colors: {
  custom: {
    50: '#dfbffe',
    500: '#cfa4fd',
    950: '#000000',
  },
}
SCSS
$custom: #cfa4fd;
$custom-light: #dfbffe;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa4fd",
  "rgb": {
    "r": 207,
    "g": 164,
    "b": 253
  },
  "hsl": {
    "h": 268.989,
    "s": 95.699,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78989,
    "c": 0.13065,
    "h": 305.8
  },
  "luminance": 0.46908
}

Semantic roles & 50–950 ramp

primary
#CFA4FD
secondary
#E6F7D4
accent
#E60077
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CFA4FD

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

Preview Lab → · Contrast checker → · Palette generator →

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