#CD8CF7#CD8CF7

#CD8CF7 is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.5% C 0.162 H 311.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#CD8CF7
RGBrgb(205, 140, 247)
HSLhsl(276, 87%, 76%)
HSVhsv(276, 43%, 97%)
CMYKcmyk(17%, 43.3%, 0%, 3.1%)
CIE-LABlab(68.35, 43.62, -44.12)
CIE-LCHlch(68.35, 62.04, 314.67°)
OKLaboklab(74.5% 0.1064 -0.1225)
OKLCHoklch(74.5% 0.162 311)
XYZxyz(51.3404, 38.4516, 92.6950)
Luminance0.3845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CF7 #B6F78C
analogous
#978CF7 #CD8CF7 #F78CEB
triadic
#CD8CF7 #F7CD8C #8CF7CD
tetradic
#CD8CF7 #F7978C #B6F78C #8CEBF7
square
#CD8CF7 #F7978C #B6F78C #8CEBF7
split-complementary
#CD8CF7 #EBF78C #8CF797
monochromatic
#9B1AEF #B453F3 #CD8CF7 #E6C5FB #F3E2FD

Accessibility & contrast

On white

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

On black

8.69
#CD8CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CF7
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CF7#FFFFFF#000000##000000
##CD8CF71.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FB
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#C89CB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8cf7;
/* rgb */ color: rgb(205, 140, 247);
/* oklch */ color: oklch(74.5% 0.162 311.0);
Tailwind
colors: {
  custom: {
    50: '#deaffa',
    500: '#cd8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cf7;
$custom-light: #deaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cf7",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 276.449,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74496,
    "c": 0.16228,
    "h": 311
  },
  "luminance": 0.38451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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