#CD8EFA#CD8EFA

#CD8EFA is a light, vivid violet. Relative luminance 0.392; OKLCH L 75.0% C 0.162 H 309.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CD8EFA
RGBrgb(205, 142, 250)
HSLhsl(275, 92%, 77%)
HSVhsv(275, 43%, 98%)
CMYKcmyk(18%, 43.2%, 0%, 2%)
CIE-LABlab(68.92, 43.19, -44.87)
CIE-LCHlch(68.92, 62.28, 313.90°)
OKLaboklab(74.96% 0.1041 -0.1247)
OKLCHoklch(74.96% 0.162 309.9)
XYZxyz(52.1020, 39.2280, 95.2510)
Luminance0.3923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EFA #BBFA8E
analogous
#978EFA #CD8EFA #FA8EF1
triadic
#CD8EFA #FACD8E #8EFACD
tetradic
#CD8EFA #FA978E #BBFA8E #8EF1FA
square
#CD8EFA #FA978E #BBFA8E #8EF1FA
split-complementary
#CD8EFA #F1FA8E #8EFA97
monochromatic
#9919F5 #B353F7 #CD8EFA #E7C9FD #F2E2FE

Accessibility & contrast

On white

2.37
#CD8EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CD8EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EFA
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EFA#FFFFFF#000000##000000
##CD8EFA1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#C89FB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd8efa;
/* rgb */ color: rgb(205, 142, 250);
/* oklch */ color: oklch(75.0% 0.162 309.9);
Tailwind
colors: {
  custom: {
    50: '#deb0fc',
    500: '#cd8efa',
    950: '#000000',
  },
}
SCSS
$custom: #cd8efa;
$custom-light: #deb0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8efa",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 275,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74963,
    "c": 0.16248,
    "h": 309.9
  },
  "luminance": 0.39227
}

Semantic roles & 50–950 ramp

primary
#CD8EFA
secondary
#E3F6D5
accent
#E60060
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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