#CD8EF0#CD8EF0

#CD8EF0 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.5% C 0.151 H 312.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CD8EF0
RGBrgb(205, 142, 240)
HSLhsl(279, 77%, 75%)
HSVhsv(279, 41%, 94%)
CMYKcmyk(14.6%, 40.8%, 0%, 5.9%)
CIE-LABlab(68.47, 41.06, -40.09)
CIE-LCHlch(68.47, 57.39, 315.68°)
OKLaboklab(74.49% 0.1024 -0.1109)
OKLCHoklch(74.49% 0.151 312.7)
XYZxyz(50.5754, 38.6174, 87.2108)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EF0 #B1F08E
analogous
#9C8EF0 #CD8EF0 #F08EE2
triadic
#CD8EF0 #F0CD8E #8EF0CD
tetradic
#CD8EF0 #F09C8E #B1F08E #8EE2F0
square
#CD8EF0 #F09C8E #B1F08E #8EE2F0
split-complementary
#CD8EF0 #E2F08E #8EF09C
monochromatic
#9D22E2 #B558E9 #CD8EF0 #E5C4F7 #F3E4FB

Accessibility & contrast

On white

2.41
#CD8EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CD8EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EF0
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EF0#FFFFFF#000000##000000
##CD8EF01.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F4
Deuteranopia (green-blind)
#8BA9ED
Tritanopia (blue-blind)
#CA9CB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8ef0;
/* rgb */ color: rgb(205, 142, 240);
/* oklch */ color: oklch(74.5% 0.151 312.7);
Tailwind
colors: {
  custom: {
    50: '#deb0f5',
    500: '#cd8ef0',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ef0;
$custom-light: #deb0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ef0",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 240
  },
  "hsl": {
    "h": 278.571,
    "s": 76.563,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74485,
    "c": 0.15096,
    "h": 312.7
  },
  "luminance": 0.38616
}

Semantic roles & 50–950 ramp

primary
#CD8EF0
secondary
#E2F3D8
accent
#D90D56
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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