#CD8BF8#CD8BF8

#CD8BF8 is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.4% C 0.165 H 310.8°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CD8BF8
RGBrgb(205, 139, 248)
HSLhsl(276, 89%, 76%)
HSVhsv(276, 44%, 97%)
CMYKcmyk(17.3%, 44%, 0%, 2.7%)
CIE-LABlab(68.18, 44.36, -44.93)
CIE-LCHlch(68.18, 63.14, 314.64°)
OKLaboklab(74.39% 0.1079 -0.1249)
OKLCHoklch(74.39% 0.165 310.8)
XYZxyz(51.3497, 38.2226, 93.4613)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BF8 #B6F88B
analogous
#968BF8 #CD8BF8 #F88BED
triadic
#CD8BF8 #F8CD8B #8BF8CD
tetradic
#CD8BF8 #F8968B #B6F88B #8BEDF8
square
#CD8BF8 #F8968B #B6F88B #8BEDF8
split-complementary
#CD8BF8 #EDF88B #8BF896
monochromatic
#9B18F1 #B451F5 #CD8BF8 #E6C5FB #F3E2FD

Accessibility & contrast

On white

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

On black

8.64
#CD8BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BF8
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BF8#FFFFFF#000000##000000
##CD8BF81.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8bf8;
/* rgb */ color: rgb(205, 139, 248);
/* oklch */ color: oklch(74.4% 0.165 310.8);
Tailwind
colors: {
  custom: {
    50: '#deaefb',
    500: '#cd8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bf8;
$custom-light: #deaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bf8",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 276.33,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74385,
    "c": 0.16505,
    "h": 310.8
  },
  "luminance": 0.38222
}

Semantic roles & 50–950 ramp

primary
#CD8BF8
secondary
#E2F5D6
accent
#E5005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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