#CD8FFF#CD8FFF

#CD8FFF is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.4% C 0.167 H 308.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CD8FFF
RGBrgb(205, 143, 255)
HSLhsl(273, 100%, 78%)
HSVhsv(273, 44%, 100%)
CMYKcmyk(19.6%, 43.9%, 0%, 0%)
CIE-LABlab(69.36, 43.74, -46.90)
CIE-LCHlch(69.36, 64.13, 313.00°)
OKLaboklab(75.37% 0.1036 -0.1306)
OKLCHoklch(75.37% 0.167 308.4)
XYZxyz(53.0458, 39.8447, 99.4847)
Luminance0.3984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FFF #C1FF8F
analogous
#958FFF #CD8FFF #FF8FF9
triadic
#CD8FFF #FFCD8F #8FFFCD
tetradic
#CD8FFF #FF958F #C1FF8F #8FF9FF
square
#CD8FFF #FF958F #C1FF8F #8FF9FF
split-complementary
#CD8FFF #F9FF8F #8FFF95
monochromatic
#9615FF #B252FF #CD8FFF #E8CCFF #F1E0FF

Accessibility & contrast

On white

2.34
#CD8FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#CD8FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FFF
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FFF#FFFFFF#000000##000000
##CD8FFF1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#85AAFC
Tritanopia (blue-blind)
#C6A1BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd8fff;
/* rgb */ color: rgb(205, 143, 255);
/* oklch */ color: oklch(75.4% 0.167 308.4);
Tailwind
colors: {
  custom: {
    50: '#deb1ff',
    500: '#cd8fff',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fff;
$custom-light: #deb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fff",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 255
  },
  "hsl": {
    "h": 273.214,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75369,
    "c": 0.16666,
    "h": 308.4
  },
  "luminance": 0.39844
}

Semantic roles & 50–950 ramp

primary
#CD8FFF
secondary
#E4F7D4
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD8FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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