#CFA8EF#CFA8EF

#CFA8EF is a light, moderate violet. Relative luminance 0.475; OKLCH L 79.1% C 0.107 H 309.1°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CFA8EF
RGBrgb(207, 168, 239)
HSLhsl(273, 69%, 80%)
HSVhsv(273, 30%, 94%)
CMYKcmyk(13.4%, 29.7%, 0%, 6.3%)
CIE-LABlab(74.51, 27.31, -30.17)
CIE-LCHlch(74.51, 40.70, 312.15°)
OKLaboklab(79.1% 0.0673 -0.0827)
OKLCHoklch(79.1% 0.107 309.1)
XYZxyz(55.3119, 47.5032, 87.8998)
Luminance0.4750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA8EF #C8EFA8
analogous
#ACA8EF #CFA8EF #EFA8EB
triadic
#CFA8EF #EFCFA8 #A8EFCF
tetradic
#CFA8EF #EFACA8 #C8EFA8 #A8EBEF
square
#CFA8EF #EFACA8 #C8EFA8 #A8EBEF
split-complementary
#CFA8EF #EBEFA8 #A8EFAC
monochromatic
#9641DC #B274E5 #CFA8EF #ECDCF9 #F1E5FA

Accessibility & contrast

On white

2.00
#CFA8EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CFA8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA8EF
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA8EF#FFFFFF#000000##000000
##CFA8EF1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB6F2
Deuteranopia (green-blind)
#A4B8ED
Tritanopia (blue-blind)
#CBB2C1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfa8ef;
/* rgb */ color: rgb(207, 168, 239);
/* oklch */ color: oklch(79.1% 0.107 309.1);
Tailwind
colors: {
  custom: {
    50: '#dec2f4',
    500: '#cfa8ef',
    950: '#000000',
  },
}
SCSS
$custom: #cfa8ef;
$custom-light: #dec2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa8ef",
  "rgb": {
    "r": 207,
    "g": 168,
    "b": 239
  },
  "hsl": {
    "h": 272.958,
    "s": 68.932,
    "l": 79.804
  },
  "oklch": {
    "l": 0.79098,
    "c": 0.10662,
    "h": 309.1
  },
  "luminance": 0.47503
}

Semantic roles & 50–950 ramp

primary
#CFA8EF
secondary
#E4F2D9
accent
#D11569
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CFA8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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