#CD8BF5#CD8BF5

#CD8BF5 is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.2% C 0.162 H 311.7°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CD8BF5
RGBrgb(205, 139, 245)
HSLhsl(277, 84%, 75%)
HSVhsv(277, 43%, 96%)
CMYKcmyk(16.3%, 43.3%, 0%, 3.9%)
CIE-LABlab(68.05, 43.72, -43.50)
CIE-LCHlch(68.05, 61.68, 315.15°)
OKLaboklab(74.24% 0.1075 -0.1207)
OKLCHoklch(74.24% 0.162 311.7)
XYZxyz(50.8880, 38.0379, 91.0298)
Luminance0.3804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BF5 #B3F58B
analogous
#988BF5 #CD8BF5 #F58BE8
triadic
#CD8BF5 #F5CD8B #8BF5CD
tetradic
#CD8BF5 #F5988B #B3F58B #8BE8F5
square
#CD8BF5 #F5988B #B3F58B #8BE8F5
split-complementary
#CD8BF5 #E8F58B #8BF598
monochromatic
#9C1AEB #B553F0 #CD8BF5 #E5C3FA #F3E3FD

Accessibility & contrast

On white

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

On black

8.61
#CD8BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BF5
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BF5#FFFFFF#000000##000000
##CD8BF51.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F9
Deuteranopia (green-blind)
#86A7F2
Tritanopia (blue-blind)
#C99BB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8bf5;
/* rgb */ color: rgb(205, 139, 245);
/* oklch */ color: oklch(74.2% 0.162 311.7);
Tailwind
colors: {
  custom: {
    50: '#deaef9',
    500: '#cd8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bf5;
$custom-light: #deaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bf5",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 277.358,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74238,
    "c": 0.16163,
    "h": 311.7
  },
  "luminance": 0.38037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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