#CD8BF6#CD8BF6

#CD8BF6 is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.3% C 0.163 H 311.4°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#CD8BF6
RGBrgb(205, 139, 246)
HSLhsl(277, 86%, 75%)
HSVhsv(277, 43%, 96%)
CMYKcmyk(16.7%, 43.5%, 0%, 3.5%)
CIE-LABlab(68.09, 43.94, -43.98)
CIE-LCHlch(68.09, 62.16, 314.97°)
OKLaboklab(74.29% 0.1076 -0.1221)
OKLCHoklch(74.29% 0.163 311.4)
XYZxyz(51.0411, 38.0991, 91.8360)
Luminance0.3810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BF6 #B4F68B
analogous
#978BF6 #CD8BF6 #F68BEA
triadic
#CD8BF6 #F6CD8B #8BF6CD
tetradic
#CD8BF6 #F6978B #B4F68B #8BEAF6
square
#CD8BF6 #F6978B #B4F68B #8BEAF6
split-complementary
#CD8BF6 #EAF68B #8BF697
monochromatic
#9C19ED #B552F2 #CD8BF6 #E5C4FA #F3E3FD

Accessibility & contrast

On white

2.44
#CD8BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#CD8BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BF6
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BF6#FFFFFF#000000##000000
##CD8BF61.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FA
Deuteranopia (green-blind)
#85A7F3
Tritanopia (blue-blind)
#C99BB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8bf6;
/* rgb */ color: rgb(205, 139, 246);
/* oklch */ color: oklch(74.3% 0.163 311.4);
Tailwind
colors: {
  custom: {
    50: '#deaef9',
    500: '#cd8bf6',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bf6;
$custom-light: #deaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bf6",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 277.009,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74287,
    "c": 0.16277,
    "h": 311.4
  },
  "luminance": 0.38098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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