#CFB7EF#CFB7EF

#CFB7EF is a light, moderate violet. Relative luminance 0.534; OKLCH L 81.8% C 0.081 H 304.2°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CFB7EF
RGBrgb(207, 183, 239)
HSLhsl(266, 64%, 83%)
HSVhsv(266, 23%, 94%)
CMYKcmyk(13.4%, 23.4%, 0%, 6.3%)
CIE-LABlab(78.09, 19.13, -24.69)
CIE-LCHlch(78.09, 31.23, 307.77°)
OKLaboklab(81.85% 0.0458 -0.0673)
OKLCHoklch(81.85% 0.081 304.2)
XYZxyz(58.2426, 53.3645, 88.8767)
Luminance0.5336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7EF #D7EFB7
analogous
#B7BBEF #CFB7EF #EBB7EF
triadic
#CFB7EF #EFCFB7 #B7EFCF
tetradic
#CFB7EF #EFB7BB #D7EFB7 #B7EFEB
square
#CFB7EF #EFB7BB #D7EFB7 #B7EFEB
split-complementary
#CFB7EF #EFEBB7 #BBEFB7
monochromatic
#8C53D9 #AE85E4 #CFB7EF #EEE6F9 #EEE6F9

Accessibility & contrast

On white

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

On black

11.67
#CFB7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7EF
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7EF#FFFFFF#000000##000000
##CFB7EF1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADC0F1
Deuteranopia (green-blind)
#B1C1ED
Tritanopia (blue-blind)
#CABFCA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfb7ef;
/* rgb */ color: rgb(207, 183, 239);
/* oklch */ color: oklch(81.8% 0.081 304.2);
Tailwind
colors: {
  custom: {
    50: '#deccf4',
    500: '#cfb7ef',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7ef;
$custom-light: #deccf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7ef",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 239
  },
  "hsl": {
    "h": 265.714,
    "s": 63.636,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81848,
    "c": 0.0814,
    "h": 304.2
  },
  "luminance": 0.53364
}

Semantic roles & 50–950 ramp

primary
#CFB7EF
secondary
#ABCD7D
accent
#CB1A7F
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CFB7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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