#CFB2EC#CFB2EC

#CFB2EC is a light, moderate violet. Relative luminance 0.512; OKLCH L 80.8% C 0.086 H 307.3°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CFB2EC
RGBrgb(207, 178, 236)
HSLhsl(270, 60%, 81%)
HSVhsv(270, 25%, 93%)
CMYKcmyk(12.3%, 24.6%, 0%, 7.5%)
CIE-LABlab(76.78, 21.23, -25.07)
CIE-LCHlch(76.78, 32.85, 310.25°)
OKLaboklab(80.8% 0.052 -0.0684)
OKLCHoklch(80.8% 0.086 307.3)
XYZxyz(56.7901, 51.1626, 86.2242)
Luminance0.5116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2EC #CFECB2
analogous
#B2B2EC #CFB2EC #ECB2EC
triadic
#CFB2EC #ECCFB2 #B2ECCF
tetradic
#CFB2EC #ECB2B2 #CFECB2 #B2ECEC
square
#CFB2EC #ECB2B2 #CFECB2 #B2ECEC
split-complementary
#CFB2EC #ECECB2 #B2ECB2
monochromatic
#9250D4 #B081E0 #CFB2EC #EEE3F8 #F0E6F9

Accessibility & contrast

On white

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

On black

11.23
#CFB2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2EC
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2EC#FFFFFF#000000##000000
##CFB2EC1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BCEE
Deuteranopia (green-blind)
#AEBEEA
Tritanopia (blue-blind)
#CBBAC6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfb2ec;
/* rgb */ color: rgb(207, 178, 236);
/* oklch */ color: oklch(80.8% 0.086 307.3);
Tailwind
colors: {
  custom: {
    50: '#dec9f2',
    500: '#cfb2ec',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2ec;
$custom-light: #dec9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2ec",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 236
  },
  "hsl": {
    "h": 270,
    "s": 60.417,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80802,
    "c": 0.08592,
    "h": 307.3
  },
  "luminance": 0.51162
}

Semantic roles & 50–950 ramp

primary
#CFB2EC
secondary
#A1C979
accent
#C81D73
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFB2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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