#CDB7FE#CDB7FE

#CDB7FE is a very light, moderate violet. Relative luminance 0.540; OKLCH L 82.3% C 0.101 H 298.4°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CDB7FE
RGBrgb(205, 183, 254)
HSLhsl(259, 97%, 86%)
HSVhsv(259, 28%, 100%)
CMYKcmyk(19.3%, 28%, 0%, 0.4%)
CIE-LABlab(78.46, 21.74, -32.19)
CIE-LCHlch(78.46, 38.85, 304.03°)
OKLaboklab(82.27% 0.0478 -0.0885)
OKLCHoklch(82.27% 0.101 298.4)
XYZxyz(59.9958, 54.0016, 101.0093)
Luminance0.5400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB7FE #E8FEB7
analogous
#B7C4FE #CDB7FE #F1B7FE
triadic
#CDB7FE #FECDB7 #B7FECD
tetradic
#CDB7FE #FEB7C4 #E8FEB7 #B7FEF1
square
#CDB7FE #FEB7C4 #E8FEB7 #B7FEF1
split-complementary
#CDB7FE #FEF1B7 #C4FEB7
monochromatic
#793EFC #A37BFD #CDB7FE #EAE1FF #EAE1FF

Accessibility & contrast

On white

1.78
#CDB7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#CDB7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB7FE
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB7FE#FFFFFF#000000##000000
##CDB7FE1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C2FF
Deuteranopia (green-blind)
#ABC2FC
Tritanopia (blue-blind)
#C4C2D0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdb7fe;
/* rgb */ color: rgb(205, 183, 254);
/* oklch */ color: oklch(82.3% 0.101 298.4);
Tailwind
colors: {
  custom: {
    50: '#ddccff',
    500: '#cdb7fe',
    950: '#000000',
  },
}
SCSS
$custom: #cdb7fe;
$custom-light: #ddccff;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb7fe",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 254
  },
  "hsl": {
    "h": 258.592,
    "s": 97.26,
    "l": 85.686
  },
  "oklch": {
    "l": 0.82274,
    "c": 0.10065,
    "h": 298.4
  },
  "luminance": 0.54002
}

Semantic roles & 50–950 ramp

primary
#CDB7FE
secondary
#C2E574
accent
#E6009E
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #CDB7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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