#CFA6F1#CFA6F1

#CFA6F1 is a light, moderate violet. Relative luminance 0.469; OKLCH L 78.8% C 0.112 H 308.9°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#CFA6F1
RGBrgb(207, 166, 241)
HSLhsl(273, 73%, 80%)
HSVhsv(273, 31%, 95%)
CMYKcmyk(14.1%, 31.1%, 0%, 5.5%)
CIE-LABlab(74.12, 28.82, -31.86)
CIE-LCHlch(74.12, 42.97, 312.14°)
OKLaboklab(78.82% 0.0707 -0.0875)
OKLCHoklch(78.82% 0.112 308.9)
XYZxyz(55.2426, 46.8892, 89.3423)
Luminance0.4689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA6F1 #C8F1A6
analogous
#AAA6F1 #CFA6F1 #F1A6EE
triadic
#CFA6F1 #F1CFA6 #A6F1CF
tetradic
#CFA6F1 #F1AAA6 #C8F1A6 #A6EEF1
square
#CFA6F1 #F1AAA6 #C8F1A6 #A6EEF1
split-complementary
#CFA6F1 #EEF1A6 #A6F1AA
monochromatic
#963CE0 #B271E9 #CFA6F1 #ECDBF9 #F1E5FB

Accessibility & contrast

On white

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

On black

10.38
#CFA6F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA6F1
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA6F1#FFFFFF#000000##000000
##CFA6F11.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B4F4
Deuteranopia (green-blind)
#A1B7EF
Tritanopia (blue-blind)
#CBB0C1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfa6f1;
/* rgb */ color: rgb(207, 166, 241);
/* oklch */ color: oklch(78.8% 0.112 308.9);
Tailwind
colors: {
  custom: {
    50: '#dec0f6',
    500: '#cfa6f1',
    950: '#000000',
  },
}
SCSS
$custom: #cfa6f1;
$custom-light: #dec0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa6f1",
  "rgb": {
    "r": 207,
    "g": 166,
    "b": 241
  },
  "hsl": {
    "h": 272.8,
    "s": 72.816,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78824,
    "c": 0.11248,
    "h": 308.9
  },
  "luminance": 0.46889
}

Semantic roles & 50–950 ramp

primary
#CFA6F1
secondary
#E4F2D9
accent
#D5116A
background
#FDFBFF
surface
#FBF7FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CFA6F1

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

Preview Lab → · Contrast checker → · Palette generator →

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