#CFA9EF#CFA9EF

#CFA9EF is a light, moderate violet. Relative luminance 0.479; OKLCH L 79.3% C 0.105 H 308.9°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CFA9EF
RGBrgb(207, 169, 239)
HSLhsl(273, 69%, 80%)
HSVhsv(273, 29%, 94%)
CMYKcmyk(13.4%, 29.3%, 0%, 6.3%)
CIE-LABlab(74.75, 26.77, -29.81)
CIE-LCHlch(74.75, 40.06, 311.92°)
OKLaboklab(79.28% 0.0659 -0.0817)
OKLCHoklch(79.28% 0.105 308.9)
XYZxyz(55.4973, 47.8738, 87.9615)
Luminance0.4787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA9EF #C9EFA9
analogous
#ACA9EF #CFA9EF #EFA9EC
triadic
#CFA9EF #EFCFA9 #A9EFCF
tetradic
#CFA9EF #EFACA9 #C9EFA9 #A9ECEF
square
#CFA9EF #EFACA9 #C9EFA9 #A9ECEF
split-complementary
#CFA9EF #ECEFA9 #A9EFAC
monochromatic
#9542DC #B275E5 #CFA9EF #ECDDF9 #F1E5FA

Accessibility & contrast

On white

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

On black

10.57
#CFA9EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA9EF
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA9EF#FFFFFF#000000##000000
##CFA9EF1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB6F2
Deuteranopia (green-blind)
#A5B9ED
Tritanopia (blue-blind)
#CBB2C2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfa9ef;
/* rgb */ color: rgb(207, 169, 239);
/* oklch */ color: oklch(79.3% 0.105 308.9);
Tailwind
colors: {
  custom: {
    50: '#dec3f4',
    500: '#cfa9ef',
    950: '#000000',
  },
}
SCSS
$custom: #cfa9ef;
$custom-light: #dec3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa9ef",
  "rgb": {
    "r": 207,
    "g": 169,
    "b": 239
  },
  "hsl": {
    "h": 272.571,
    "s": 68.627,
    "l": 80
  },
  "oklch": {
    "l": 0.79278,
    "c": 0.10493,
    "h": 308.9
  },
  "luminance": 0.47873
}

Semantic roles & 50–950 ramp

primary
#CFA9EF
secondary
#E4F2D9
accent
#D1156B
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CFA9EF

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

Preview Lab → · Contrast checker → · Palette generator →

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