#CFA4FF#CFA4FF

#CFA4FF is a light, vivid violet. Relative luminance 0.470; OKLCH L 79.1% C 0.133 H 305.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#CFA4FF
RGBrgb(207, 164, 255)
HSLhsl(268, 100%, 82%)
HSVhsv(268, 36%, 100%)
CMYKcmyk(18.8%, 35.7%, 0%, 0%)
CIE-LABlab(74.21, 32.93, -39.29)
CIE-LCHlch(74.21, 51.27, 309.96°)
OKLaboklab(79.08% 0.0769 -0.1087)
OKLCHoklch(79.08% 0.133 305.3)
XYZxyz(57.0540, 47.0366, 100.6616)
Luminance0.4704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA4FF #D4FFA4
analogous
#A4A7FF #CFA4FF #FDA4FF
triadic
#CFA4FF #FFCFA4 #A4FFCF
tetradic
#CFA4FF #FFA4A7 #D4FFA4 #A4FFFD
square
#CFA4FF #FFA4A7 #D4FFA4 #A4FFFD
split-complementary
#CFA4FF #FFFDA4 #A7FFA4
monochromatic
#8E2AFF #AF67FF #CFA4FF #EFE0FF #EFE0FF

Accessibility & contrast

On white

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

On black

10.41
#CFA4FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA4FF
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA4FF#FFFFFF#000000##000000
##CFA4FF1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B5FF
Deuteranopia (green-blind)
#99B7FC
Tritanopia (blue-blind)
#C8B2C6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfa4ff;
/* rgb */ color: rgb(207, 164, 255);
/* oklch */ color: oklch(79.1% 0.133 305.3);
Tailwind
colors: {
  custom: {
    50: '#dfbfff',
    500: '#cfa4ff',
    950: '#000000',
  },
}
SCSS
$custom: #cfa4ff;
$custom-light: #dfbfff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa4ff",
  "rgb": {
    "r": 207,
    "g": 164,
    "b": 255
  },
  "hsl": {
    "h": 268.352,
    "s": 100,
    "l": 82.157
  },
  "oklch": {
    "l": 0.79079,
    "c": 0.13313,
    "h": 305.3
  },
  "luminance": 0.47036
}

Semantic roles & 50–950 ramp

primary
#CFA4FF
secondary
#E6F7D4
accent
#E60079
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CFA4FF

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

Preview Lab → · Contrast checker → · Palette generator →

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