#CFB1EA#CFB1EA

#CFB1EA is a light, moderate violet. Relative luminance 0.506; OKLCH L 80.5% C 0.085 H 308.4°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#CFB1EA
RGBrgb(207, 177, 234)
HSLhsl(272, 58%, 81%)
HSVhsv(272, 24%, 92%)
CMYKcmyk(11.5%, 24.4%, 0%, 8.2%)
CIE-LABlab(76.47, 21.36, -24.47)
CIE-LCHlch(76.47, 32.48, 311.12°)
OKLaboklab(80.54% 0.0529 -0.0667)
OKLCHoklch(80.54% 0.085 308.4)
XYZxyz(56.3029, 50.6506, 84.6364)
Luminance0.5065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB1EA #CCEAB1
analogous
#B2B1EA #CFB1EA #EAB1E8
triadic
#CFB1EA #EACFB1 #B1EACF
tetradic
#CFB1EA #EAB2B1 #CCEAB1 #B1E8EA
square
#CFB1EA #EAB2B1 #CCEAB1 #B1E8EA
split-complementary
#CFB1EA #E8EAB1 #B1EAB2
monochromatic
#9451D0 #B181DD #CFB1EA #EDE1F7 #F0E7F9

Accessibility & contrast

On white

1.89
#CFB1EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#CFB1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB1EA
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB1EA#FFFFFF#000000##000000
##CFB1EA1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BBEC
Deuteranopia (green-blind)
#ADBDE8
Tritanopia (blue-blind)
#CCB8C5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfb1ea;
/* rgb */ color: rgb(207, 177, 234);
/* oklch */ color: oklch(80.5% 0.085 308.4);
Tailwind
colors: {
  custom: {
    50: '#dec8f0',
    500: '#cfb1ea',
    950: '#000000',
  },
}
SCSS
$custom: #cfb1ea;
$custom-light: #dec8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb1ea",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 234
  },
  "hsl": {
    "h": 271.579,
    "s": 57.576,
    "l": 80.588
  },
  "oklch": {
    "l": 0.8054,
    "c": 0.08509,
    "h": 308.4
  },
  "luminance": 0.5065
}

Semantic roles & 50–950 ramp

primary
#CFB1EA
secondary
#9EC679
accent
#C5206E
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CFB1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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