#CFB9EC#CFB9EC

#CFB9EC is a very light, moderate violet. Relative luminance 0.540; OKLCH L 82.1% C 0.074 H 304.4°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CFB9EC
RGBrgb(207, 185, 236)
HSLhsl(266, 57%, 83%)
HSVhsv(266, 22%, 93%)
CMYKcmyk(12.3%, 21.6%, 0%, 7.5%)
CIE-LABlab(78.47, 17.42, -22.49)
CIE-LCHlch(78.47, 28.45, 307.76°)
OKLaboklab(82.11% 0.042 -0.0612)
OKLCHoklch(82.11% 0.074 304.4)
XYZxyz(58.2185, 54.0196, 86.7004)
Luminance0.5402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB9EC #D6ECB9
analogous
#B9BDEC #CFB9EC #E8B9EC
triadic
#CFB9EC #ECCFB9 #B9ECCF
tetradic
#CFB9EC #ECB9BD #D6ECB9 #B9ECE8
square
#CFB9EC #ECB9BD #D6ECB9 #B9ECE8
split-complementary
#CFB9EC #ECE8B9 #BDECB9
monochromatic
#8D59D2 #AE89DF #CFB9EC #EEE7F8 #EEE7F8

Accessibility & contrast

On white

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

On black

11.80
#CFB9EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB9EC
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB9EC#FFFFFF#000000##000000
##CFB9EC1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb9ec;
/* rgb */ color: rgb(207, 185, 236);
/* oklch */ color: oklch(82.1% 0.074 304.4);
Tailwind
colors: {
  custom: {
    50: '#decef2',
    500: '#cfb9ec',
    950: '#000000',
  },
}
SCSS
$custom: #cfb9ec;
$custom-light: #decef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb9ec",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 236
  },
  "hsl": {
    "h": 265.882,
    "s": 57.303,
    "l": 82.549
  },
  "oklch": {
    "l": 0.82111,
    "c": 0.07419,
    "h": 304.4
  },
  "luminance": 0.54019
}

Semantic roles & 50–950 ramp

primary
#CFB9EC
secondary
#AAC980
accent
#C5217E
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CFB9EC

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

Preview Lab → · Contrast checker → · Palette generator →

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