#CD8CF5#CD8CF5

#CD8CF5 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.4% C 0.160 H 311.5°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#CD8CF5
RGBrgb(205, 140, 245)
HSLhsl(277, 84%, 75%)
HSVhsv(277, 43%, 96%)
CMYKcmyk(16.3%, 42.9%, 0%, 3.9%)
CIE-LABlab(68.26, 43.19, -43.16)
CIE-LCHlch(68.26, 61.06, 315.02°)
OKLaboklab(74.4% 0.1061 -0.1198)
OKLCHoklch(74.4% 0.16 311.5)
XYZxyz(51.0335, 38.3288, 91.0783)
Luminance0.3833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CF5 #B4F58C
analogous
#988CF5 #CD8CF5 #F58CE8
triadic
#CD8CF5 #F5CD8C #8CF5CD
tetradic
#CD8CF5 #F5988C #B4F58C #8CE8F5
square
#CD8CF5 #F5988C #B4F58C #8CE8F5
split-complementary
#CD8CF5 #E8F58C #8CF598
monochromatic
#9C1BEB #B554F0 #CD8CF5 #E5C4FA #F3E3FD

Accessibility & contrast

On white

2.42
#CD8CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#CD8CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CF5
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CF5#FFFFFF#000000##000000
##CD8CF51.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A3F9
Deuteranopia (green-blind)
#87A8F2
Tritanopia (blue-blind)
#C99CB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8cf5;
/* rgb */ color: rgb(205, 140, 245);
/* oklch */ color: oklch(74.4% 0.160 311.5);
Tailwind
colors: {
  custom: {
    50: '#deaff9',
    500: '#cd8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cf5;
$custom-light: #deaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cf5",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 277.143,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74399,
    "c": 0.15999,
    "h": 311.5
  },
  "luminance": 0.38328
}

Semantic roles & 50–950 ramp

primary
#CD8CF5
secondary
#E2F4D7
accent
#E00559
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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