#CFB9EA#CFB9EA

#CFB9EA is a very light, moderate violet. Relative luminance 0.539; OKLCH L 82.0% C 0.072 H 305.3°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CFB9EA
RGBrgb(207, 185, 234)
HSLhsl(267, 54%, 82%)
HSVhsv(267, 21%, 92%)
CMYKcmyk(11.5%, 20.9%, 0%, 8.2%)
CIE-LABlab(78.41, 17.01, -21.52)
CIE-LCHlch(78.41, 27.42, 308.32°)
OKLaboklab(82.04% 0.0413 -0.0585)
OKLCHoklch(82.04% 0.072 305.3)
XYZxyz(57.9296, 53.9040, 85.1786)
Luminance0.5390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB9EA #D4EAB9
analogous
#B9BCEA #CFB9EA #E8B9EA
triadic
#CFB9EA #EACFB9 #B9EACF
tetradic
#CFB9EA #EAB9BC #D4EAB9 #B9EAE8
square
#CFB9EA #EAB9BC #D4EAB9 #B9EAE8
split-complementary
#CFB9EA #EAE8B9 #BCEAB9
monochromatic
#8E5BCE #AF8ADC #CFB9EA #EFE7F8 #EFE7F8

Accessibility & contrast

On white

1.78
#CFB9EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CFB9EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB9EA
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB9EA#FFFFFF#000000##000000
##CFB9EA1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1C1EC
Deuteranopia (green-blind)
#B4C2E8
Tritanopia (blue-blind)
#CBC0CA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfb9ea;
/* rgb */ color: rgb(207, 185, 234);
/* oklch */ color: oklch(82.0% 0.072 305.3);
Tailwind
colors: {
  custom: {
    50: '#decef0',
    500: '#cfb9ea',
    950: '#000000',
  },
}
SCSS
$custom: #cfb9ea;
$custom-light: #decef0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb9ea",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 234
  },
  "hsl": {
    "h": 266.939,
    "s": 53.846,
    "l": 82.157
  },
  "oklch": {
    "l": 0.82036,
    "c": 0.0716,
    "h": 305.3
  },
  "luminance": 0.53904
}

Semantic roles & 50–950 ramp

primary
#CFB9EA
secondary
#A7C681
accent
#C1247B
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CFB9EA

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

Preview Lab → · Contrast checker → · Palette generator →

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