#CFB4EC#CFB4EC

#CFB4EC is a light, moderate violet. Relative luminance 0.520; OKLCH L 81.2% C 0.083 H 306.5°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CFB4EC
RGBrgb(207, 180, 236)
HSLhsl(269, 60%, 82%)
HSVhsv(269, 24%, 93%)
CMYKcmyk(12.3%, 23.7%, 0%, 7.5%)
CIE-LABlab(77.26, 20.14, -24.34)
CIE-LCHlch(77.26, 31.59, 309.60°)
OKLaboklab(81.17% 0.0492 -0.0663)
OKLCHoklch(81.17% 0.083 306.5)
XYZxyz(57.1909, 51.9643, 86.3578)
Luminance0.5196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB4EC #D1ECB4
analogous
#B4B5EC #CFB4EC #EBB4EC
triadic
#CFB4EC #ECCFB4 #B4ECCF
tetradic
#CFB4EC #ECB4B5 #D1ECB4 #B4ECEB
square
#CFB4EC #ECB4B5 #D1ECB4 #B4ECEB
split-complementary
#CFB4EC #ECEBB4 #B5ECB4
monochromatic
#9052D3 #B083E0 #CFB4EC #EEE5F8 #EFE7F9

Accessibility & contrast

On white

1.84
#CFB4EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CFB4EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB4EC
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB4EC#FFFFFF#000000##000000
##CFB4EC1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AABEEE
Deuteranopia (green-blind)
#AFBFEA
Tritanopia (blue-blind)
#CBBBC7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfb4ec;
/* rgb */ color: rgb(207, 180, 236);
/* oklch */ color: oklch(81.2% 0.083 306.5);
Tailwind
colors: {
  custom: {
    50: '#decaf2',
    500: '#cfb4ec',
    950: '#000000',
  },
}
SCSS
$custom: #cfb4ec;
$custom-light: #decaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb4ec",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 236
  },
  "hsl": {
    "h": 268.929,
    "s": 59.574,
    "l": 81.569
  },
  "oklch": {
    "l": 0.81174,
    "c": 0.08255,
    "h": 306.5
  },
  "luminance": 0.51964
}

Semantic roles & 50–950 ramp

primary
#CFB4EC
secondary
#A3C97B
accent
#C71E76
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFB4EC

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

Preview Lab → · Contrast checker → · Palette generator →

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