#CD8CF4#CD8CF4

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

Color values

HEX#CD8CF4
RGBrgb(205, 140, 244)
HSLhsl(278, 83%, 75%)
HSVhsv(278, 43%, 96%)
CMYKcmyk(16%, 42.6%, 0%, 4.3%)
CIE-LABlab(68.22, 42.98, -42.69)
CIE-LCHlch(68.22, 60.57, 315.19°)
OKLaboklab(74.35% 0.1059 -0.1184)
OKLCHoklch(74.35% 0.159 311.8)
XYZxyz(50.8812, 38.2679, 90.2765)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CF4 #B3F48C
analogous
#998CF4 #CD8CF4 #F48CE7
triadic
#CD8CF4 #F4CD8C #8CF4CD
tetradic
#CD8CF4 #F4998C #B3F48C #8CE7F4
square
#CD8CF4 #F4998C #B3F48C #8CE7F4
split-complementary
#CD8CF4 #E7F48C #8CF499
monochromatic
#9C1CE9 #B554EF #CD8CF4 #E5C4F9 #F3E3FC

Accessibility & contrast

On white

2.43
#CD8CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#CD8CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CF4
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CF4#FFFFFF#000000##000000
##CD8CF41.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A3F8
Deuteranopia (green-blind)
#87A8F1
Tritanopia (blue-blind)
#C99BB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8cf4;
/* rgb */ color: rgb(205, 140, 244);
/* oklch */ color: oklch(74.4% 0.159 311.8);
Tailwind
colors: {
  custom: {
    50: '#deaff8',
    500: '#cd8cf4',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cf4;
$custom-light: #deaff8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cf4",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 277.5,
    "s": 82.54,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74351,
    "c": 0.15884,
    "h": 311.8
  },
  "luminance": 0.38267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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