#CD8CF6#CD8CF6

#CD8CF6 is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.4% C 0.161 H 311.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#CD8CF6
RGBrgb(205, 140, 246)
HSLhsl(277, 85%, 76%)
HSVhsv(277, 43%, 96%)
CMYKcmyk(16.7%, 43.1%, 0%, 3.5%)
CIE-LABlab(68.31, 43.40, -43.64)
CIE-LCHlch(68.31, 61.55, 314.84°)
OKLaboklab(74.45% 0.1062 -0.1211)
OKLCHoklch(74.45% 0.161 311.2)
XYZxyz(51.1865, 38.3900, 91.8844)
Luminance0.3839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CF6 #B5F68C
analogous
#988CF6 #CD8CF6 #F68CEA
triadic
#CD8CF6 #F6CD8C #8CF6CD
tetradic
#CD8CF6 #F6988C #B5F68C #8CEAF6
square
#CD8CF6 #F6988C #B5F68C #8CEAF6
split-complementary
#CD8CF6 #EAF68C #8CF698
monochromatic
#9C1AED #B453F2 #CD8CF6 #E6C5FA #F3E3FD

Accessibility & contrast

On white

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

On black

8.68
#CD8CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CF6
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CF6#FFFFFF#000000##000000
##CD8CF61.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A3FA
Deuteranopia (green-blind)
#86A8F3
Tritanopia (blue-blind)
#C99CB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8cf6;
/* rgb */ color: rgb(205, 140, 246);
/* oklch */ color: oklch(74.4% 0.161 311.2);
Tailwind
colors: {
  custom: {
    50: '#deaff9',
    500: '#cd8cf6',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cf6;
$custom-light: #deaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cf6",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 276.792,
    "s": 85.484,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74447,
    "c": 0.16113,
    "h": 311.2
  },
  "luminance": 0.38389
}

Semantic roles & 50–950 ramp

primary
#CD8CF6
secondary
#E2F5D6
accent
#E2045A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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