#CFA4FE#CFA4FE

#CFA4FE is a light, vivid violet. Relative luminance 0.470; OKLCH L 79.0% C 0.132 H 305.5°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#CFA4FE
RGBrgb(207, 164, 254)
HSLhsl(269, 98%, 82%)
HSVhsv(269, 35%, 100%)
CMYKcmyk(18.5%, 35.4%, 0%, 0.4%)
CIE-LABlab(74.17, 32.71, -38.82)
CIE-LCHlch(74.17, 50.76, 310.12°)
OKLaboklab(79.03% 0.0766 -0.1073)
OKLCHoklch(79.03% 0.132 305.5)
XYZxyz(56.8934, 46.9724, 99.8161)
Luminance0.4697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA4FE #D3FEA4
analogous
#A4A6FE #CFA4FE #FCA4FE
triadic
#CFA4FE #FECFA4 #A4FECF
tetradic
#CFA4FE #FEA4A6 #D3FEA4 #A4FEFC
square
#CFA4FE #FEA4A6 #D3FEA4 #A4FEFC
split-complementary
#CFA4FE #FEFCA4 #A6FEA4
monochromatic
#8F2BFD #AF67FD #CFA4FE #EFE1FF #EFE1FF

Accessibility & contrast

On white

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

On black

10.39
#CFA4FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA4FE
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA4FE#FFFFFF#000000##000000
##CFA4FE1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfa4fe;
/* rgb */ color: rgb(207, 164, 254);
/* oklch */ color: oklch(79.0% 0.132 305.5);
Tailwind
colors: {
  custom: {
    50: '#dfbfff',
    500: '#cfa4fe',
    950: '#000000',
  },
}
SCSS
$custom: #cfa4fe;
$custom-light: #dfbfff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa4fe",
  "rgb": {
    "r": 207,
    "g": 164,
    "b": 254
  },
  "hsl": {
    "h": 268.667,
    "s": 97.826,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79034,
    "c": 0.13189,
    "h": 305.5
  },
  "luminance": 0.46972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFA4FE

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

Preview Lab → · Contrast checker → · Palette generator →

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