#CFA4FC#CFA4FC

#CFA4FC is a light, vivid violet. Relative luminance 0.468; OKLCH L 78.9% C 0.129 H 306.1°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#CFA4FC
RGBrgb(207, 164, 252)
HSLhsl(269, 94%, 82%)
HSVhsv(269, 35%, 99%)
CMYKcmyk(17.9%, 34.9%, 0%, 1.2%)
CIE-LABlab(74.09, 32.27, -37.86)
CIE-LCHlch(74.09, 49.75, 310.44°)
OKLaboklab(78.94% 0.0762 -0.1046)
OKLCHoklch(78.94% 0.129 306.1)
XYZxyz(56.5748, 46.8449, 98.1381)
Luminance0.4684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA4FC #D1FCA4
analogous
#A4A5FC #CFA4FC #FBA4FC
triadic
#CFA4FC #FCCFA4 #A4FCCF
tetradic
#CFA4FC #FCA4A5 #D1FCA4 #A4FCFB
square
#CFA4FC #FCA4A5 #D1FCA4 #A4FCFB
split-complementary
#CFA4FC #FCFBA4 #A5FCA4
monochromatic
#902EF8 #B069FA #CFA4FC #EEDFFE #EFE1FE

Accessibility & contrast

On white

2.03
#CFA4FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#CFA4FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA4FC
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA4FC#FFFFFF#000000##000000
##CFA4FC1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B5FF
Deuteranopia (green-blind)
#9BB6FA
Tritanopia (blue-blind)
#C9B1C5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfa4fc;
/* rgb */ color: rgb(207, 164, 252);
/* oklch */ color: oklch(78.9% 0.129 306.1);
Tailwind
colors: {
  custom: {
    50: '#dfbffd',
    500: '#cfa4fc',
    950: '#000000',
  },
}
SCSS
$custom: #cfa4fc;
$custom-light: #dfbffd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa4fc",
  "rgb": {
    "r": 207,
    "g": 164,
    "b": 252
  },
  "hsl": {
    "h": 269.318,
    "s": 93.617,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78945,
    "c": 0.12941,
    "h": 306.1
  },
  "luminance": 0.46845
}

Semantic roles & 50–950 ramp

primary
#CFA4FC
secondary
#E6F6D5
accent
#E60075
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA4FC

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

Preview Lab → · Contrast checker → · Palette generator →

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