#CD8CFD#CD8CFD

#CD8CFD is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.8% C 0.169 H 309.4°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CD8CFD
RGBrgb(205, 140, 253)
HSLhsl(275, 97%, 77%)
HSVhsv(275, 45%, 99%)
CMYKcmyk(19%, 44.7%, 0%, 0.8%)
CIE-LABlab(68.63, 44.91, -46.96)
CIE-LCHlch(68.63, 64.98, 313.72°)
OKLaboklab(74.79% 0.1073 -0.1308)
OKLCHoklch(74.79% 0.169 309.4)
XYZxyz(52.2812, 38.8279, 97.6498)
Luminance0.3883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CFD #BCFD8C
analogous
#958CFD #CD8CFD #FD8CF5
triadic
#CD8CFD #FDCD8C #8CFDCD
tetradic
#CD8CFD #FD958C #BCFD8C #8CF5FD
square
#CD8CFD #FD958C #BCFD8C #8CF5FD
split-complementary
#CD8CFD #F5FD8C #8CFD95
monochromatic
#9914FB #B350FC #CD8CFD #E7C8FE #F2E1FE

Accessibility & contrast

On white

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

On black

8.77
#CD8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CFD
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CFD#FFFFFF#000000##000000
##CD8CFD1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#83A8FA
Tritanopia (blue-blind)
#C79EB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8cfd;
/* rgb */ color: rgb(205, 140, 253);
/* oklch */ color: oklch(74.8% 0.169 309.4);
Tailwind
colors: {
  custom: {
    50: '#deaffe',
    500: '#cd8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cfd;
$custom-light: #deaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cfd",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 274.513,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74791,
    "c": 0.16917,
    "h": 309.4
  },
  "luminance": 0.38827
}

Semantic roles & 50–950 ramp

primary
#CD8CFD
secondary
#E3F7D4
accent
#E60061
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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