#CD8CF8#CD8CF8

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

Color values

HEX#CD8CF8
RGBrgb(205, 140, 248)
HSLhsl(276, 89%, 76%)
HSVhsv(276, 44%, 97%)
CMYKcmyk(17.3%, 43.5%, 0%, 2.7%)
CIE-LABlab(68.40, 43.83, -44.59)
CIE-LCHlch(68.40, 62.53, 314.50°)
OKLaboklab(74.54% 0.1066 -0.1239)
OKLCHoklch(74.54% 0.163 310.7)
XYZxyz(51.4951, 38.5135, 93.5098)
Luminance0.3851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CF8 #B7F88C
analogous
#978CF8 #CD8CF8 #F88CED
triadic
#CD8CF8 #F8CD8C #8CF8CD
tetradic
#CD8CF8 #F8978C #B7F88C #8CEDF8
square
#CD8CF8 #F8978C #B7F88C #8CEDF8
split-complementary
#CD8CF8 #EDF88C #8CF897
monochromatic
#9B19F1 #B452F4 #CD8CF8 #E6C6FC #F2E2FD

Accessibility & contrast

On white

2.41
#CD8CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#CD8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CF8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CF8#FFFFFF#000000##000000
##CD8CF81.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#C89CB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8cf8;
/* rgb */ color: rgb(205, 140, 248);
/* oklch */ color: oklch(74.5% 0.163 310.7);
Tailwind
colors: {
  custom: {
    50: '#deaffb',
    500: '#cd8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cf8;
$custom-light: #deaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cf8",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 276.111,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74544,
    "c": 0.16342,
    "h": 310.7
  },
  "luminance": 0.38513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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