#CFB5EE#CFB5EE

#CFB5EE is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.4% C 0.083 H 305.4°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CFB5EE
RGBrgb(207, 181, 238)
HSLhsl(267, 63%, 82%)
HSVhsv(267, 24%, 93%)
CMYKcmyk(13%, 23.9%, 0%, 6.7%)
CIE-LABlab(77.57, 20.01, -24.94)
CIE-LCHlch(77.57, 31.98, 308.74°)
OKLaboklab(81.44% 0.0483 -0.068)
OKLCHoklch(81.44% 0.083 305.4)
XYZxyz(57.6857, 52.4864, 87.9642)
Luminance0.5249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB5EE #D4EEB5
analogous
#B5B8EE #CFB5EE #EBB5EE
triadic
#CFB5EE #EECFB5 #B5EECF
tetradic
#CFB5EE #EEB5B8 #D4EEB5 #B5EEEB
square
#CFB5EE #EEB5B8 #D4EEB5 #B5EEEB
split-complementary
#CFB5EE #EEEBB5 #B8EEB5
monochromatic
#8E51D7 #AF83E3 #CFB5EE #EFE6F9 #EFE6F9

Accessibility & contrast

On white

1.83
#CFB5EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CFB5EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB5EE
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB5EE#FFFFFF#000000##000000
##CFB5EE1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBFF0
Deuteranopia (green-blind)
#B0C0EC
Tritanopia (blue-blind)
#CBBDC9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfb5ee;
/* rgb */ color: rgb(207, 181, 238);
/* oklch */ color: oklch(81.4% 0.083 305.4);
Tailwind
colors: {
  custom: {
    50: '#decbf3',
    500: '#cfb5ee',
    950: '#000000',
  },
}
SCSS
$custom: #cfb5ee;
$custom-light: #decbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb5ee",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 238
  },
  "hsl": {
    "h": 267.368,
    "s": 62.637,
    "l": 82.157
  },
  "oklch": {
    "l": 0.81437,
    "c": 0.08343,
    "h": 305.4
  },
  "luminance": 0.52486
}

Semantic roles & 50–950 ramp

primary
#CFB5EE
secondary
#A7CC7C
accent
#CA1B7A
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFB5EE

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

Preview Lab → · Contrast checker → · Palette generator →

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