#CFB5ED#CFB5ED

#CFB5ED is a light, moderate violet. Relative luminance 0.524; OKLCH L 81.4% C 0.082 H 305.8°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CFB5ED
RGBrgb(207, 181, 237)
HSLhsl(268, 61%, 82%)
HSVhsv(268, 24%, 93%)
CMYKcmyk(12.7%, 23.6%, 0%, 7.1%)
CIE-LABlab(77.54, 19.80, -24.46)
CIE-LCHlch(77.54, 31.47, 308.99°)
OKLaboklab(81.4% 0.048 -0.0667)
OKLCHoklch(81.4% 0.082 305.8)
XYZxyz(57.5392, 52.4278, 87.1927)
Luminance0.5243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB5ED #D3EDB5
analogous
#B5B7ED #CFB5ED #EBB5ED
triadic
#CFB5ED #EDCFB5 #B5EDCF
tetradic
#CFB5ED #EDB5B7 #D3EDB5 #B5EDEB
square
#CFB5ED #EDB5B7 #D3EDB5 #B5EDEB
split-complementary
#CFB5ED #EDEBB5 #B7EDB5
monochromatic
#8F53D5 #AF84E1 #CFB5ED #EFE6F9 #EFE6F9

Accessibility & contrast

On white

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

On black

11.49
#CFB5ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB5ED
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB5ED#FFFFFF#000000##000000
##CFB5ED1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBFEF
Deuteranopia (green-blind)
#B0C0EB
Tritanopia (blue-blind)
#CBBDC8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfb5ed;
/* rgb */ color: rgb(207, 181, 237);
/* oklch */ color: oklch(81.4% 0.082 305.8);
Tailwind
colors: {
  custom: {
    50: '#decbf3',
    500: '#cfb5ed',
    950: '#000000',
  },
}
SCSS
$custom: #cfb5ed;
$custom-light: #decbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb5ed",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 237
  },
  "hsl": {
    "h": 267.857,
    "s": 60.87,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81398,
    "c": 0.08216,
    "h": 305.8
  },
  "luminance": 0.52428
}

Semantic roles & 50–950 ramp

primary
#CFB5ED
secondary
#A6CA7C
accent
#C91D79
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFB5ED

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

Preview Lab → · Contrast checker → · Palette generator →

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