#CD8EF6#CD8EF6

#CD8EF6 is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.8% C 0.158 H 311.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CD8EF6
RGBrgb(205, 142, 246)
HSLhsl(276, 85%, 76%)
HSVhsv(276, 42%, 96%)
CMYKcmyk(16.7%, 42.3%, 0%, 3.5%)
CIE-LABlab(68.74, 42.33, -42.97)
CIE-LCHlch(68.74, 60.32, 314.57°)
OKLaboklab(74.77% 0.1035 -0.1192)
OKLCHoklch(74.77% 0.158 311)
XYZxyz(51.4814, 38.9798, 91.9827)
Luminance0.3898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EF6 #B7F68E
analogous
#998EF6 #CD8EF6 #F68EEB
triadic
#CD8EF6 #F6CD8E #8EF6CD
tetradic
#CD8EF6 #F6998E #B7F68E #8EEBF6
square
#CD8EF6 #F6998E #B7F68E #8EEBF6
split-complementary
#CD8EF6 #EBF68E #8EF699
monochromatic
#9B1DED #B455F1 #CD8EF6 #E6C7FB #F2E3FD

Accessibility & contrast

On white

2.39
#CD8EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CD8EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EF6
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EF6#FFFFFF#000000##000000
##CD8EF61.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FA
Deuteranopia (green-blind)
#88A9F3
Tritanopia (blue-blind)
#C99EB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd8ef6;
/* rgb */ color: rgb(205, 142, 246);
/* oklch */ color: oklch(74.8% 0.158 311.0);
Tailwind
colors: {
  custom: {
    50: '#deb0f9',
    500: '#cd8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ef6;
$custom-light: #deb0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ef6",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 276.346,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74769,
    "c": 0.15785,
    "h": 311
  },
  "luminance": 0.38979
}

Semantic roles & 50–950 ramp

primary
#CD8EF6
secondary
#E2F5D6
accent
#E2045B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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