#CD8EFD#CD8EFD

#CD8EFD is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.1% C 0.166 H 309.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CD8EFD
RGBrgb(205, 142, 253)
HSLhsl(274, 97%, 77%)
HSVhsv(274, 44%, 99%)
CMYKcmyk(19%, 43.9%, 0%, 0.8%)
CIE-LABlab(69.05, 43.84, -46.29)
CIE-LCHlch(69.05, 63.76, 313.44°)
OKLaboklab(75.11% 0.1046 -0.1288)
OKLCHoklch(75.11% 0.166 309.1)
XYZxyz(52.5761, 39.4177, 97.7481)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EFD #BEFD8E
analogous
#958EFD #CD8EFD #FD8EF6
triadic
#CD8EFD #FDCD8E #8EFDCD
tetradic
#CD8EFD #FD958E #BEFD8E #8EF6FD
square
#CD8EFD #FD958E #BEFD8E #8EF6FD
split-complementary
#CD8EFD #F6FD8E #8EFD95
monochromatic
#9816FB #B252FC #CD8EFD #E8CAFE #F2E1FE

Accessibility & contrast

On white

2.36
#CD8EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#CD8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EFD
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EFD#FFFFFF#000000##000000
##CD8EFD1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#85AAFA
Tritanopia (blue-blind)
#C79FBA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd8efd;
/* rgb */ color: rgb(205, 142, 253);
/* oklch */ color: oklch(75.1% 0.166 309.1);
Tailwind
colors: {
  custom: {
    50: '#deb0fe',
    500: '#cd8efd',
    950: '#000000',
  },
}
SCSS
$custom: #cd8efd;
$custom-light: #deb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8efd",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 274.054,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7511,
    "c": 0.16595,
    "h": 309.1
  },
  "luminance": 0.39417
}

Semantic roles & 50–950 ramp

primary
#CD8EFD
secondary
#E3F7D4
accent
#E60063
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CD8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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