#CD8FF8#CD8FF8

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

Color values

HEX#CD8FF8
RGBrgb(205, 143, 248)
HSLhsl(275, 88%, 77%)
HSVhsv(275, 42%, 97%)
CMYKcmyk(17.3%, 42.3%, 0%, 2.7%)
CIE-LABlab(69.04, 42.22, -43.58)
CIE-LCHlch(69.04, 60.68, 314.09°)
OKLaboklab(75.03% 0.1024 -0.121)
OKLCHoklch(75.03% 0.159 310.2)
XYZxyz(51.9395, 39.4022, 93.6579)
Luminance0.3940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FF8 #BAF88F
analogous
#998FF8 #CD8FF8 #F88FEE
triadic
#CD8FF8 #F8CD8F #8FF8CD
tetradic
#CD8FF8 #F8998F #BAF88F #8FEEF8
square
#CD8FF8 #F8998F #BAF88F #8FEEF8
split-complementary
#CD8FF8 #EEF88F #8FF899
monochromatic
#9A1CF1 #B355F4 #CD8FF8 #E7C9FC #F2E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD8FF8#FFFFFF#000000##000000
##CD8FF81.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)
#79A6FC
Deuteranopia (green-blind)
#88AAF5
Tritanopia (blue-blind)
#C89FB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd8ff8;
/* rgb */ color: rgb(205, 143, 248);
/* oklch */ color: oklch(75.0% 0.159 310.2);
Tailwind
colors: {
  custom: {
    50: '#deb1fb',
    500: '#cd8ff8',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ff8;
$custom-light: #deb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ff8",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 275.429,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75028,
    "c": 0.15853,
    "h": 310.2
  },
  "luminance": 0.39401
}

Semantic roles & 50–950 ramp

primary
#CD8FF8
secondary
#E3F5D6
accent
#E5015E
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CD8FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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