#CD8CF1#CD8CF1

#CD8CF1 is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.2% C 0.155 H 312.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#CD8CF1
RGBrgb(205, 140, 241)
HSLhsl(279, 78%, 75%)
HSVhsv(279, 42%, 95%)
CMYKcmyk(14.9%, 41.9%, 0%, 5.5%)
CIE-LABlab(68.08, 42.34, -41.25)
CIE-LCHlch(68.08, 59.12, 315.75°)
OKLaboklab(74.21% 0.1054 -0.1142)
OKLCHoklch(74.21% 0.155 312.7)
XYZxyz(50.4294, 38.0872, 87.8970)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CF1 #B0F18C
analogous
#9B8CF1 #CD8CF1 #F18CE3
triadic
#CD8CF1 #F1CD8C #8CF1CD
tetradic
#CD8CF1 #F19B8C #B0F18C #8CE3F1
square
#CD8CF1 #F19B8C #B0F18C #8CE3F1
split-complementary
#CD8CF1 #E3F18C #8CF19B
monochromatic
#9E1FE4 #B555EA #CD8CF1 #E5C3F8 #F3E4FC

Accessibility & contrast

On white

2.44
#CD8CF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#CD8CF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CF1
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CF1#FFFFFF#000000##000000
##CD8CF11.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A2F5
Deuteranopia (green-blind)
#89A8EE
Tritanopia (blue-blind)
#CA9BB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8cf1;
/* rgb */ color: rgb(205, 140, 241);
/* oklch */ color: oklch(74.2% 0.155 312.7);
Tailwind
colors: {
  custom: {
    50: '#deaff6',
    500: '#cd8cf1',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cf1;
$custom-light: #deaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cf1",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 278.614,
    "s": 78.295,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74207,
    "c": 0.15543,
    "h": 312.7
  },
  "luminance": 0.38086
}

Semantic roles & 50–950 ramp

primary
#CD8CF1
secondary
#E1F3D8
accent
#DB0B55
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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