#CFB5EF#CFB5EF

#CFB5EF is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.5% C 0.085 H 305.0°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CFB5EF
RGBrgb(207, 181, 239)
HSLhsl(267, 64%, 82%)
HSVhsv(267, 24%, 94%)
CMYKcmyk(13.4%, 24.3%, 0%, 6.3%)
CIE-LABlab(77.61, 20.22, -25.43)
CIE-LCHlch(77.61, 32.49, 308.49°)
OKLaboklab(81.47% 0.0486 -0.0694)
OKLCHoklch(81.47% 0.085 305)
XYZxyz(57.8330, 52.5453, 88.7401)
Luminance0.5254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB5EF #D5EFB5
analogous
#B5B8EF #CFB5EF #ECB5EF
triadic
#CFB5EF #EFCFB5 #B5EFCF
tetradic
#CFB5EF #EFB5B8 #D5EFB5 #B5EFEC
square
#CFB5EF #EFB5B8 #D5EFB5 #B5EFEC
split-complementary
#CFB5EF #EFECB5 #B8EFB5
monochromatic
#8E50D9 #AE83E4 #CFB5EF #EFE6FA #EFE6FA

Accessibility & contrast

On white

1.82
#CFB5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CFB5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB5EF
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB5EF#FFFFFF#000000##000000
##CFB5EF1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AABFF1
Deuteranopia (green-blind)
#AFC0ED
Tritanopia (blue-blind)
#CABDC9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfb5ef;
/* rgb */ color: rgb(207, 181, 239);
/* oklch */ color: oklch(81.5% 0.085 305.0);
Tailwind
colors: {
  custom: {
    50: '#decbf4',
    500: '#cfb5ef',
    950: '#000000',
  },
}
SCSS
$custom: #cfb5ef;
$custom-light: #decbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb5ef",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 239
  },
  "hsl": {
    "h": 266.897,
    "s": 64.444,
    "l": 82.353
  },
  "oklch": {
    "l": 0.81475,
    "c": 0.08472,
    "h": 305
  },
  "luminance": 0.52545
}

Semantic roles & 50–950 ramp

primary
#CFB5EF
secondary
#A8CD7B
accent
#CC197C
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFB5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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