#CD8CF3#CD8CF3

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

Color values

HEX#CD8CF3
RGBrgb(205, 140, 243)
HSLhsl(278, 81%, 75%)
HSVhsv(278, 42%, 95%)
CMYKcmyk(15.6%, 42.4%, 0%, 4.7%)
CIE-LABlab(68.17, 42.77, -42.21)
CIE-LCHlch(68.17, 60.09, 315.38°)
OKLaboklab(74.3% 0.1057 -0.117)
OKLCHoklch(74.3% 0.158 312.1)
XYZxyz(50.7298, 38.2073, 89.4790)
Luminance0.3821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CF3 #B2F38C
analogous
#998CF3 #CD8CF3 #F38CE5
triadic
#CD8CF3 #F3CD8C #8CF3CD
tetradic
#CD8CF3 #F3998C #B2F38C #8CE5F3
square
#CD8CF3 #F3998C #B2F38C #8CE5F3
split-complementary
#CD8CF3 #E5F38C #8CF399
monochromatic
#9D1DE7 #B555ED #CD8CF3 #E5C3F9 #F3E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD8CF3#FFFFFF#000000##000000
##CD8CF31.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)
#77A3F7
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#C99BB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8cf3;
/* rgb */ color: rgb(205, 140, 243);
/* oklch */ color: oklch(74.3% 0.158 312.1);
Tailwind
colors: {
  custom: {
    50: '#deaff7',
    500: '#cd8cf3',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cf3;
$custom-light: #deaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cf3",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 277.864,
    "s": 81.102,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74303,
    "c": 0.1577,
    "h": 312.1
  },
  "luminance": 0.38206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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