#CD8EF3#CD8EF3

#CD8EF3 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.6% C 0.154 H 311.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CD8EF3
RGBrgb(205, 142, 243)
HSLhsl(277, 81%, 75%)
HSVhsv(277, 42%, 95%)
CMYKcmyk(15.6%, 41.6%, 0%, 4.7%)
CIE-LABlab(68.60, 41.69, -41.53)
CIE-LCHlch(68.60, 58.85, 315.11°)
OKLaboklab(74.63% 0.1029 -0.1151)
OKLCHoklch(74.63% 0.154 311.8)
XYZxyz(51.0247, 38.7971, 89.5773)
Luminance0.3880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EF3 #B4F38E
analogous
#9A8EF3 #CD8EF3 #F38EE6
triadic
#CD8EF3 #F3CD8E #8EF3CD
tetradic
#CD8EF3 #F39A8E #B4F38E #8EE6F3
square
#CD8EF3 #F39A8E #B4F38E #8EE6F3
split-complementary
#CD8EF3 #E6F38E #8EF39A
monochromatic
#9C1FE7 #B557ED #CD8EF3 #E5C5F9 #F3E3FC

Accessibility & contrast

On white

2.40
#CD8EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CD8EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EF3
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EF3#FFFFFF#000000##000000
##CD8EF31.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F7
Deuteranopia (green-blind)
#8AA9F0
Tritanopia (blue-blind)
#C99DB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8ef3;
/* rgb */ color: rgb(205, 142, 243);
/* oklch */ color: oklch(74.6% 0.154 311.8);
Tailwind
colors: {
  custom: {
    50: '#deb0f7',
    500: '#cd8ef3',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ef3;
$custom-light: #deb0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ef3",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 277.426,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74626,
    "c": 0.1544,
    "h": 311.8
  },
  "luminance": 0.38796
}

Semantic roles & 50–950 ramp

primary
#CD8EF3
secondary
#E2F4D7
accent
#DD0858
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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