#CFB2EA#CFB2EA

#CFB2EA is a light, moderate violet. Relative luminance 0.510; OKLCH L 80.7% C 0.083 H 308.1°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#CFB2EA
RGBrgb(207, 178, 234)
HSLhsl(271, 57%, 81%)
HSVhsv(271, 24%, 92%)
CMYKcmyk(11.5%, 23.9%, 0%, 8.2%)
CIE-LABlab(76.71, 20.81, -24.10)
CIE-LCHlch(76.71, 31.84, 310.81°)
OKLaboklab(80.73% 0.0515 -0.0656)
OKLCHoklch(80.73% 0.083 308.1)
XYZxyz(56.5011, 51.0471, 84.7025)
Luminance0.5105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2EA #CDEAB2
analogous
#B3B2EA #CFB2EA #EAB2E9
triadic
#CFB2EA #EACFB2 #B2EACF
tetradic
#CFB2EA #EAB3B2 #CDEAB2 #B2E9EA
square
#CFB2EA #EAB3B2 #CDEAB2 #B2E9EA
split-complementary
#CFB2EA #E9EAB2 #B2EAB3
monochromatic
#9352D0 #B182DD #CFB2EA #EDE2F7 #F0E7F8

Accessibility & contrast

On white

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

On black

11.21
#CFB2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2EA
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2EA#FFFFFF#000000##000000
##CFB2EA1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BCEC
Deuteranopia (green-blind)
#AEBEE8
Tritanopia (blue-blind)
#CCB9C5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfb2ea;
/* rgb */ color: rgb(207, 178, 234);
/* oklch */ color: oklch(80.7% 0.083 308.1);
Tailwind
colors: {
  custom: {
    50: '#dec9f0',
    500: '#cfb2ea',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2ea;
$custom-light: #dec9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2ea",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 234
  },
  "hsl": {
    "h": 271.071,
    "s": 57.143,
    "l": 80.784
  },
  "oklch": {
    "l": 0.80725,
    "c": 0.0834,
    "h": 308.1
  },
  "luminance": 0.51047
}

Semantic roles & 50–950 ramp

primary
#CFB2EA
secondary
#9FC67A
accent
#C52170
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CFB2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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