#CFA0EA#CFA0EA

#CFA0EA is a light, moderate violet. Relative luminance 0.443; OKLCH L 77.5% C 0.114 H 312.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#CFA0EA
RGBrgb(207, 160, 234)
HSLhsl(278, 64%, 77%)
HSVhsv(278, 32%, 92%)
CMYKcmyk(11.5%, 31.6%, 0%, 8.2%)
CIE-LABlab(72.46, 30.64, -30.61)
CIE-LCHlch(72.46, 43.31, 315.03°)
OKLaboklab(77.47% 0.0776 -0.0839)
OKLCHoklch(77.47% 0.114 312.8)
XYZxyz(53.1518, 44.3483, 83.5860)
Luminance0.4435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA0EA #BBEAA0
analogous
#AAA0EA #CFA0EA #EAA0E0
triadic
#CFA0EA #EACFA0 #A0EACF
tetradic
#CFA0EA #EAAAA0 #BBEAA0 #A0E0EA
square
#CFA0EA #EAAAA0 #BBEAA0 #A0E0EA
split-complementary
#CFA0EA #E0EAA0 #A0EAAA
monochromatic
#9C3CD4 #B66EDF #CFA0EA #E8D2F5 #F2E6F9

Accessibility & contrast

On white

2.13
#CFA0EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CFA0EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA0EA
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA0EA#FFFFFF#000000##000000
##CFA0EA1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFED
Deuteranopia (green-blind)
#9EB3E8
Tritanopia (blue-blind)
#CDAABB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfa0ea;
/* rgb */ color: rgb(207, 160, 234);
/* oklch */ color: oklch(77.5% 0.114 312.8);
Tailwind
colors: {
  custom: {
    50: '#debcf1',
    500: '#cfa0ea',
    950: '#000000',
  },
}
SCSS
$custom: #cfa0ea;
$custom-light: #debcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa0ea",
  "rgb": {
    "r": 207,
    "g": 160,
    "b": 234
  },
  "hsl": {
    "h": 278.108,
    "s": 63.793,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7747,
    "c": 0.11425,
    "h": 312.8
  },
  "luminance": 0.44348
}

Semantic roles & 50–950 ramp

primary
#CFA0EA
secondary
#E2F1DA
accent
#CC1A5B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA0EA

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

Preview Lab → · Contrast checker → · Palette generator →

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