#CFB4E7#CFB4E7

#CFB4E7 is a light, moderate violet. Relative luminance 0.517; OKLCH L 81.0% C 0.076 H 308.7°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CFB4E7
RGBrgb(207, 180, 231)
HSLhsl(272, 52%, 81%)
HSVhsv(272, 22%, 91%)
CMYKcmyk(10.4%, 22.1%, 0%, 9.4%)
CIE-LABlab(77.09, 19.11, -21.90)
CIE-LCHlch(77.09, 29.06, 311.11°)
OKLaboklab(80.98% 0.0476 -0.0595)
OKLCHoklch(80.98% 0.076 308.7)
XYZxyz(56.4746, 51.6778, 82.5855)
Luminance0.5168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB4E7 #CCE7B4
analogous
#B5B4E7 #CFB4E7 #E7B4E5
triadic
#CFB4E7 #E7CFB4 #B4E7CF
tetradic
#CFB4E7 #E7B5B4 #CCE7B4 #B4E5E7
square
#CFB4E7 #E7B5B4 #CCE7B4 #B4E5E7
split-complementary
#CFB4E7 #E5E7B4 #B4E7B5
monochromatic
#9457C9 #B186D8 #CFB4E7 #EDE2F6 #F0E8F8

Accessibility & contrast

On white

1.85
#CFB4E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CFB4E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB4E7
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB4E7#FFFFFF#000000##000000
##CFB4E71.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACBDE9
Deuteranopia (green-blind)
#B1BFE5
Tritanopia (blue-blind)
#CCBAC5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfb4e7;
/* rgb */ color: rgb(207, 180, 231);
/* oklch */ color: oklch(81.0% 0.076 308.7);
Tailwind
colors: {
  custom: {
    50: '#decaee',
    500: '#cfb4e7',
    950: '#000000',
  },
}
SCSS
$custom: #cfb4e7;
$custom-light: #decaee;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb4e7",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 231
  },
  "hsl": {
    "h": 271.765,
    "s": 51.515,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80984,
    "c": 0.07621,
    "h": 308.7
  },
  "luminance": 0.51677
}

Semantic roles & 50–950 ramp

primary
#CFB4E7
secondary
#9EC27D
accent
#BF276E
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CFB4E7

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

Preview Lab → · Contrast checker → · Palette generator →

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