#CD8EFB#CD8EFB

#CD8EFB is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.0% C 0.164 H 309.6°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CD8EFB
RGBrgb(205, 142, 251)
HSLhsl(275, 93%, 77%)
HSVhsv(275, 43%, 98%)
CMYKcmyk(18.3%, 43.4%, 0%, 1.6%)
CIE-LABlab(68.96, 43.40, -45.35)
CIE-LCHlch(68.96, 62.77, 313.75°)
OKLaboklab(75.01% 0.1043 -0.1261)
OKLCHoklch(75.01% 0.164 309.6)
XYZxyz(52.2592, 39.2909, 96.0790)
Luminance0.3929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EFB #BCFB8E
analogous
#978EFB #CD8EFB #FB8EF2
triadic
#CD8EFB #FBCD8E #8EFBCD
tetradic
#CD8EFB #FB978E #BCFB8E #8EF2FB
square
#CD8EFB #FB978E #BCFB8E #8EF2FB
split-complementary
#CD8EFB #F2FB8E #8EFB97
monochromatic
#9918F7 #B353F9 #CD8EFB #E7C9FD #F2E1FE

Accessibility & contrast

On white

2.37
#CD8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#CD8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EFB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EFB#FFFFFF#000000##000000
##CD8EFB1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FF
Deuteranopia (green-blind)
#86A9F8
Tritanopia (blue-blind)
#C79FB9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd8efb;
/* rgb */ color: rgb(205, 142, 251);
/* oklch */ color: oklch(75.0% 0.164 309.6);
Tailwind
colors: {
  custom: {
    50: '#deb0fd',
    500: '#cd8efb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8efb;
$custom-light: #deb0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8efb",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 274.679,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75012,
    "c": 0.16363,
    "h": 309.6
  },
  "luminance": 0.3929
}

Semantic roles & 50–950 ramp

primary
#CD8EFB
secondary
#E3F6D5
accent
#E60061
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CD8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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