#CD8FFE#CD8FFE

#CD8FFE is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.3% C 0.166 H 308.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CD8FFE
RGBrgb(205, 143, 254)
HSLhsl(274, 98%, 78%)
HSVhsv(274, 44%, 100%)
CMYKcmyk(19.3%, 43.7%, 0%, 0.4%)
CIE-LABlab(69.31, 43.52, -46.43)
CIE-LCHlch(69.31, 63.64, 313.15°)
OKLaboklab(75.32% 0.1034 -0.1292)
OKLCHoklch(75.32% 0.166 308.7)
XYZxyz(52.8853, 39.7805, 98.6391)
Luminance0.3978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FFE #C0FE8F
analogous
#968FFE #CD8FFE #FE8FF7
triadic
#CD8FFE #FECD8F #8FFECD
tetradic
#CD8FFE #FE968F #C0FE8F #8FF7FE
square
#CD8FFE #FE968F #C0FE8F #8FF7FE
split-complementary
#CD8FFE #F7FE8F #8FFE96
monochromatic
#9716FD #B252FD #CD8FFE #E8CCFF #F1E1FF

Accessibility & contrast

On white

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

On black

8.96
#CD8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FFE
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FFE#FFFFFF#000000##000000
##CD8FFE1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8ffe;
/* rgb */ color: rgb(205, 143, 254);
/* oklch */ color: oklch(75.3% 0.166 308.7);
Tailwind
colors: {
  custom: {
    50: '#deb1ff',
    500: '#cd8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ffe;
$custom-light: #deb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ffe",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 273.514,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7532,
    "c": 0.1655,
    "h": 308.7
  },
  "luminance": 0.3978
}

Semantic roles & 50–950 ramp

primary
#CD8FFE
secondary
#E3F7D4
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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