#CFB7EE#CFB7EE

#CFB7EE is a light, moderate violet. Relative luminance 0.533; OKLCH L 81.8% C 0.080 H 304.6°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CFB7EE
RGBrgb(207, 183, 238)
HSLhsl(266, 62%, 83%)
HSVhsv(266, 23%, 93%)
CMYKcmyk(13%, 23.1%, 0%, 6.7%)
CIE-LABlab(78.06, 18.92, -24.20)
CIE-LCHlch(78.06, 30.72, 308.02°)
OKLaboklab(81.81% 0.0454 -0.066)
OKLCHoklch(81.81% 0.08 304.6)
XYZxyz(58.0953, 53.3056, 88.1008)
Luminance0.5331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7EE #D6EEB7
analogous
#B7BAEE #CFB7EE #EBB7EE
triadic
#CFB7EE #EECFB7 #B7EECF
tetradic
#CFB7EE #EEB7BA #D6EEB7 #B7EEEB
square
#CFB7EE #EEB7BA #D6EEB7 #B7EEEB
split-complementary
#CFB7EE #EEEBB7 #BAEEB7
monochromatic
#8D54D7 #AE85E2 #CFB7EE #EEE6F9 #EEE6F9

Accessibility & contrast

On white

1.80
#CFB7EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CFB7EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7EE
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7EE#FFFFFF#000000##000000
##CFB7EE1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADC0F0
Deuteranopia (green-blind)
#B1C1EC
Tritanopia (blue-blind)
#CBBFCA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfb7ee;
/* rgb */ color: rgb(207, 183, 238);
/* oklch */ color: oklch(81.8% 0.080 304.6);
Tailwind
colors: {
  custom: {
    50: '#deccf3',
    500: '#cfb7ee',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7ee;
$custom-light: #deccf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7ee",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 238
  },
  "hsl": {
    "h": 266.182,
    "s": 61.798,
    "l": 82.549
  },
  "oklch": {
    "l": 0.8181,
    "c": 0.0801,
    "h": 304.6
  },
  "luminance": 0.53305
}

Semantic roles & 50–950 ramp

primary
#CFB7EE
secondary
#AACC7D
accent
#CA1C7E
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CFB7EE

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

Preview Lab → · Contrast checker → · Palette generator →

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