#CFA6FF#CFA6FF

#CFA6FF is a light, vivid violet. Relative luminance 0.478; OKLCH L 79.4% C 0.130 H 304.8°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CFA6FF
RGBrgb(207, 166, 255)
HSLhsl(268, 100%, 83%)
HSVhsv(268, 35%, 100%)
CMYKcmyk(18.8%, 34.9%, 0%, 0%)
CIE-LABlab(74.67, 31.84, -38.58)
CIE-LCHlch(74.67, 50.02, 309.53°)
OKLaboklab(79.43% 0.0741 -0.1067)
OKLCHoklch(79.43% 0.13 304.8)
XYZxyz(57.4147, 47.7581, 100.7819)
Luminance0.4776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA6FF #D6FFA6
analogous
#A6AAFF #CFA6FF #FBA6FF
triadic
#CFA6FF #FFCFA6 #A6FFCF
tetradic
#CFA6FF #FFA6AA #D6FFA6 #A6FFFB
square
#CFA6FF #FFA6AA #D6FFA6 #A6FFFB
split-complementary
#CFA6FF #FFFBA6 #AAFFA6
monochromatic
#8D2CFF #AE69FF #CFA6FF #EEE0FF #EEE0FF

Accessibility & contrast

On white

1.99
#CFA6FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#CFA6FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA6FF
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA6FF#FFFFFF#000000##000000
##CFA6FF1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#9BB8FD
Tritanopia (blue-blind)
#C8B4C7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfa6ff;
/* rgb */ color: rgb(207, 166, 255);
/* oklch */ color: oklch(79.4% 0.130 304.8);
Tailwind
colors: {
  custom: {
    50: '#dfc1ff',
    500: '#cfa6ff',
    950: '#000000',
  },
}
SCSS
$custom: #cfa6ff;
$custom-light: #dfc1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa6ff",
  "rgb": {
    "r": 207,
    "g": 166,
    "b": 255
  },
  "hsl": {
    "h": 267.64,
    "s": 100,
    "l": 82.549
  },
  "oklch": {
    "l": 0.79428,
    "c": 0.12986,
    "h": 304.8
  },
  "luminance": 0.47758
}

Semantic roles & 50–950 ramp

primary
#CFA6FF
secondary
#E7F7D4
accent
#E6007C
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CFA6FF

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

Preview Lab → · Contrast checker → · Palette generator →

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