#CD8FF5#CD8FF5

#CD8FF5 is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.9% C 0.155 H 311.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CD8FF5
RGBrgb(205, 143, 245)
HSLhsl(276, 84%, 76%)
HSVhsv(276, 42%, 96%)
CMYKcmyk(16.3%, 41.6%, 0%, 3.9%)
CIE-LABlab(68.91, 41.58, -42.15)
CIE-LCHlch(68.91, 59.21, 314.61°)
OKLaboklab(74.88% 0.1019 -0.1169)
OKLCHoklch(74.88% 0.155 311.1)
XYZxyz(51.4778, 39.2175, 91.2264)
Luminance0.3922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FF5 #B7F58F
analogous
#9A8FF5 #CD8FF5 #F58FEA
triadic
#CD8FF5 #F5CD8F #8FF5CD
tetradic
#CD8FF5 #F59A8F #B7F58F #8FEAF5
square
#CD8FF5 #F59A8F #B7F58F #8FEAF5
split-complementary
#CD8FF5 #EAF58F #8FF59A
monochromatic
#9B1FEB #B457F0 #CD8FF5 #E6C7FA #F2E3FC

Accessibility & contrast

On white

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

On black

8.84
#CD8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FF5
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FF5#FFFFFF#000000##000000
##CD8FF51.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA5F9
Deuteranopia (green-blind)
#8AA9F2
Tritanopia (blue-blind)
#C99EB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd8ff5;
/* rgb */ color: rgb(205, 143, 245);
/* oklch */ color: oklch(74.9% 0.155 311.1);
Tailwind
colors: {
  custom: {
    50: '#deb1f9',
    500: '#cd8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ff5;
$custom-light: #deb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ff5",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 276.471,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74884,
    "c": 0.15506,
    "h": 311.1
  },
  "luminance": 0.39217
}

Semantic roles & 50–950 ramp

primary
#CD8FF5
secondary
#E2F4D7
accent
#E0055B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CD8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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