#CD8BF9#CD8BF9

#CD8BF9 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.4% C 0.166 H 310.6°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CD8BF9
RGBrgb(205, 139, 249)
HSLhsl(276, 90%, 76%)
HSVhsv(276, 44%, 98%)
CMYKcmyk(17.7%, 44.2%, 0%, 2.4%)
CIE-LABlab(68.23, 44.58, -45.40)
CIE-LCHlch(68.23, 63.63, 314.47°)
OKLaboklab(74.43% 0.1081 -0.1262)
OKLCHoklch(74.43% 0.166 310.6)
XYZxyz(51.5052, 38.2848, 94.2806)
Luminance0.3828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BF9 #B7F98B
analogous
#968BF9 #CD8BF9 #F98BEE
triadic
#CD8BF9 #F9CD8B #8BF9CD
tetradic
#CD8BF9 #F9968B #B7F98B #8BEEF9
square
#CD8BF9 #F9968B #B7F98B #8BEEF9
split-complementary
#CD8BF9 #EEF98B #8BF996
monochromatic
#9B17F3 #B451F6 #CD8BF9 #E6C5FC #F2E2FD

Accessibility & contrast

On white

2.43
#CD8BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CD8BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BF9
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BF9#FFFFFF#000000##000000
##CD8BF91.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FD
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#C89CB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8bf9;
/* rgb */ color: rgb(205, 139, 249);
/* oklch */ color: oklch(74.4% 0.166 310.6);
Tailwind
colors: {
  custom: {
    50: '#deaefb',
    500: '#cd8bf9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bf9;
$custom-light: #deaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bf9",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 276,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74434,
    "c": 0.16619,
    "h": 310.6
  },
  "luminance": 0.38284
}

Semantic roles & 50–950 ramp

primary
#CD8BF9
secondary
#E2F6D5
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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