#CD8BF1#CD8BF1

#CD8BF1 is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.0% C 0.157 H 312.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CD8BF1
RGBrgb(205, 139, 241)
HSLhsl(279, 78%, 75%)
HSVhsv(279, 42%, 95%)
CMYKcmyk(14.9%, 42.3%, 0%, 5.5%)
CIE-LABlab(67.87, 42.88, -41.59)
CIE-LCHlch(67.87, 59.73, 315.88°)
OKLaboklab(74.05% 0.1068 -0.1152)
OKLCHoklch(74.05% 0.157 312.8)
XYZxyz(50.2840, 37.7963, 87.8485)
Luminance0.3780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BF1 #AFF18B
analogous
#9A8BF1 #CD8BF1 #F18BE2
triadic
#CD8BF1 #F1CD8B #8BF1CD
tetradic
#CD8BF1 #F19A8B #AFF18B #8BE2F1
square
#CD8BF1 #F19A8B #AFF18B #8BE2F1
split-complementary
#CD8BF1 #E2F18B #8BF19A
monochromatic
#9E1EE4 #B554EA #CD8BF1 #E5C2F8 #F3E4FC

Accessibility & contrast

On white

2.45
#CD8BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CD8BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BF1
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BF1#FFFFFF#000000##000000
##CD8BF11.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F5
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#CA9AB3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8bf1;
/* rgb */ color: rgb(205, 139, 241);
/* oklch */ color: oklch(74.0% 0.157 312.8);
Tailwind
colors: {
  custom: {
    50: '#deaef6',
    500: '#cd8bf1',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bf1;
$custom-light: #deaef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bf1",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 278.824,
    "s": 78.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74046,
    "c": 0.15708,
    "h": 312.8
  },
  "luminance": 0.37795
}

Semantic roles & 50–950 ramp

primary
#CD8BF1
secondary
#E1F4D7
accent
#DB0B54
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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