#CD8BFD#CD8BFD

#CD8BFD is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.6% C 0.171 H 309.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CD8BFD
RGBrgb(205, 139, 253)
HSLhsl(275, 97%, 77%)
HSVhsv(275, 45%, 99%)
CMYKcmyk(19%, 45.1%, 0%, 0.8%)
CIE-LABlab(68.41, 45.44, -47.30)
CIE-LCHlch(68.41, 65.59, 313.85°)
OKLaboklab(74.63% 0.1087 -0.1317)
OKLCHoklch(74.63% 0.171 309.5)
XYZxyz(52.1358, 38.5370, 97.6013)
Luminance0.3854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BFD #BBFD8B
analogous
#948BFD #CD8BFD #FD8BF4
triadic
#CD8BFD #FDCD8B #8BFDCD
tetradic
#CD8BFD #FD948B #BBFD8B #8BF4FD
square
#CD8BFD #FD948B #BBFD8B #8BF4FD
split-complementary
#CD8BFD #F4FD8B #8BFD94
monochromatic
#9913FB #B34FFC #CD8BFD #E7C7FE #F2E1FE

Accessibility & contrast

On white

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

On black

8.71
#CD8BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BFD
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BFD#FFFFFF#000000##000000
##CD8BFD1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#C79DB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8bfd;
/* rgb */ color: rgb(205, 139, 253);
/* oklch */ color: oklch(74.6% 0.171 309.5);
Tailwind
colors: {
  custom: {
    50: '#deaefe',
    500: '#cd8bfd',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bfd;
$custom-light: #deaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bfd",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 274.737,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74632,
    "c": 0.17077,
    "h": 309.5
  },
  "luminance": 0.38536
}

Semantic roles & 50–950 ramp

primary
#CD8BFD
secondary
#E3F7D4
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD8BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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