#CD8EFF#CD8EFF

#CD8EFF is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.2% C 0.168 H 308.6°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CD8EFF
RGBrgb(205, 142, 255)
HSLhsl(273, 100%, 78%)
HSVhsv(273, 44%, 100%)
CMYKcmyk(19.6%, 44.3%, 0%, 0%)
CIE-LABlab(69.14, 44.27, -47.24)
CIE-LCHlch(69.14, 64.74, 313.14°)
OKLaboklab(75.21% 0.1049 -0.1316)
OKLCHoklch(75.21% 0.168 308.6)
XYZxyz(52.8964, 39.5458, 99.4349)
Luminance0.3955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EFF #C0FF8E
analogous
#948EFF #CD8EFF #FF8EF9
triadic
#CD8EFF #FFCD8E #8EFFCD
tetradic
#CD8EFF #FF948E #C0FF8E #8EF9FF
square
#CD8EFF #FF948E #C0FF8E #8EF9FF
split-complementary
#CD8EFF #F9FF8E #8EFF94
monochromatic
#9714FF #B251FF #CD8EFF #E8CBFF #F1E0FF

Accessibility & contrast

On white

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

On black

8.91
#CD8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EFF
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EFF#FFFFFF#000000##000000
##CD8EFF1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#84AAFC
Tritanopia (blue-blind)
#C6A0BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd8eff;
/* rgb */ color: rgb(205, 142, 255);
/* oklch */ color: oklch(75.2% 0.168 308.6);
Tailwind
colors: {
  custom: {
    50: '#deb0ff',
    500: '#cd8eff',
    950: '#000000',
  },
}
SCSS
$custom: #cd8eff;
$custom-light: #deb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8eff",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 273.451,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75209,
    "c": 0.16828,
    "h": 308.6
  },
  "luminance": 0.39545
}

Semantic roles & 50–950 ramp

primary
#CD8EFF
secondary
#E3F7D4
accent
#E60066
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CD8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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