#CD8BF3#CD8BF3

#CD8BF3 is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.1% C 0.159 H 312.2°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CD8BF3
RGBrgb(205, 139, 243)
HSLhsl(278, 81%, 75%)
HSVhsv(278, 43%, 95%)
CMYKcmyk(15.6%, 42.8%, 0%, 4.7%)
CIE-LABlab(67.96, 43.30, -42.54)
CIE-LCHlch(67.96, 60.70, 315.51°)
OKLaboklab(74.14% 0.1071 -0.118)
OKLCHoklch(74.14% 0.159 312.2)
XYZxyz(50.5843, 37.9164, 89.4305)
Luminance0.3791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BF3 #B1F38B
analogous
#998BF3 #CD8BF3 #F38BE5
triadic
#CD8BF3 #F3CD8B #8BF3CD
tetradic
#CD8BF3 #F3998B #B1F38B #8BE5F3
square
#CD8BF3 #F3998B #B1F38B #8BE5F3
split-complementary
#CD8BF3 #E5F38B #8BF399
monochromatic
#9D1CE8 #B554ED #CD8BF3 #E5C2F9 #F3E3FC

Accessibility & contrast

On white

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

On black

8.58
#CD8BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BF3
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BF3#FFFFFF#000000##000000
##CD8BF31.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F7
Deuteranopia (green-blind)
#87A7F0
Tritanopia (blue-blind)
#C99AB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8bf3;
/* rgb */ color: rgb(205, 139, 243);
/* oklch */ color: oklch(74.1% 0.159 312.2);
Tailwind
colors: {
  custom: {
    50: '#deaef7',
    500: '#cd8bf3',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bf3;
$custom-light: #deaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bf3",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 278.077,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74142,
    "c": 0.15936,
    "h": 312.2
  },
  "luminance": 0.37915
}

Semantic roles & 50–950 ramp

primary
#CD8BF3
secondary
#E2F4D7
accent
#DE0856
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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