#CFB2EE#CFB2EE

#CFB2EE is a light, moderate violet. Relative luminance 0.513; OKLCH L 80.9% C 0.088 H 306.5°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#CFB2EE
RGBrgb(207, 178, 238)
HSLhsl(269, 64%, 82%)
HSVhsv(269, 25%, 93%)
CMYKcmyk(13%, 25.2%, 0%, 6.7%)
CIE-LABlab(76.85, 21.64, -26.05)
CIE-LCHlch(76.85, 33.86, 309.72°)
OKLaboklab(80.88% 0.0526 -0.0711)
OKLCHoklch(80.88% 0.088 306.5)
XYZxyz(57.0822, 51.2795, 87.7631)
Luminance0.5128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2EE #D1EEB2
analogous
#B2B3EE #CFB2EE #EDB2EE
triadic
#CFB2EE #EECFB2 #B2EECF
tetradic
#CFB2EE #EEB2B3 #D1EEB2 #B2EEED
square
#CFB2EE #EEB2B3 #D1EEB2 #B2EEED
split-complementary
#CFB2EE #EEEDB2 #B3EEB2
monochromatic
#904ED8 #B080E3 #CFB2EE #EEE4F9 #EFE6F9

Accessibility & contrast

On white

1.87
#CFB2EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#CFB2EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2EE
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2EE#FFFFFF#000000##000000
##CFB2EE1.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BDF1
Deuteranopia (green-blind)
#ADBEEC
Tritanopia (blue-blind)
#CBBAC7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfb2ee;
/* rgb */ color: rgb(207, 178, 238);
/* oklch */ color: oklch(80.9% 0.088 306.5);
Tailwind
colors: {
  custom: {
    50: '#dec9f3',
    500: '#cfb2ee',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2ee;
$custom-light: #dec9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2ee",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 238
  },
  "hsl": {
    "h": 269,
    "s": 63.83,
    "l": 81.569
  },
  "oklch": {
    "l": 0.8088,
    "c": 0.08847,
    "h": 306.5
  },
  "luminance": 0.51279
}

Semantic roles & 50–950 ramp

primary
#CFB2EE
secondary
#A3CC79
accent
#CC1A76
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFB2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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