#CFA1FF#CFA1FF

#CFA1FF is a light, vivid violet. Relative luminance 0.460; OKLCH L 78.6% C 0.138 H 305.9°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CFA1FF
RGBrgb(207, 161, 255)
HSLhsl(269, 100%, 82%)
HSVhsv(269, 37%, 100%)
CMYKcmyk(18.8%, 36.9%, 0%, 0%)
CIE-LABlab(73.53, 34.56, -40.36)
CIE-LCHlch(73.53, 53.14, 310.58°)
OKLaboklab(78.56% 0.081 -0.1117)
OKLCHoklch(78.56% 0.138 305.9)
XYZxyz(56.5234, 45.9755, 100.4848)
Luminance0.4597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA1FF #D1FFA1
analogous
#A1A2FF #CFA1FF #FEA1FF
triadic
#CFA1FF #FFCFA1 #A1FFCF
tetradic
#CFA1FF #FFA1A2 #D1FFA1 #A1FFFE
square
#CFA1FF #FFA1A2 #D1FFA1 #A1FFFE
split-complementary
#CFA1FF #FFFEA1 #A2FFA1
monochromatic
#9027FF #B064FF #CFA1FF #EEDEFF #EFE0FF

Accessibility & contrast

On white

2.06
#CFA1FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#CFA1FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA1FF
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA1FF#FFFFFF#000000##000000
##CFA1FF1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#97B5FC
Tritanopia (blue-blind)
#C8AFC4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfa1ff;
/* rgb */ color: rgb(207, 161, 255);
/* oklch */ color: oklch(78.6% 0.138 305.9);
Tailwind
colors: {
  custom: {
    50: '#dfbdff',
    500: '#cfa1ff',
    950: '#000000',
  },
}
SCSS
$custom: #cfa1ff;
$custom-light: #dfbdff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa1ff",
  "rgb": {
    "r": 207,
    "g": 161,
    "b": 255
  },
  "hsl": {
    "h": 269.362,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.7856,
    "c": 0.13804,
    "h": 305.9
  },
  "luminance": 0.45975
}

Semantic roles & 50–950 ramp

primary
#CFA1FF
secondary
#E6F7D4
accent
#E60075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CFA1FF

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

Preview Lab → · Contrast checker → · Palette generator →

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