#CD8BFC#CD8BFC

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

Color values

HEX#CD8BFC
RGBrgb(205, 139, 252)
HSLhsl(275, 95%, 77%)
HSVhsv(275, 45%, 99%)
CMYKcmyk(18.7%, 44.8%, 0%, 1.2%)
CIE-LABlab(68.37, 45.22, -46.82)
CIE-LCHlch(68.37, 65.10, 314.00°)
OKLaboklab(74.58% 0.1086 -0.1303)
OKLCHoklch(74.58% 0.17 309.8)
XYZxyz(51.9769, 38.4734, 96.7646)
Luminance0.3847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BFC #BAFC8B
analogous
#958BFC #CD8BFC #FC8BF3
triadic
#CD8BFC #FCCD8B #8BFCCD
tetradic
#CD8BFC #FC958B #BAFC8B #8BF3FC
square
#CD8BFC #FC958B #BAFC8B #8BF3FC
split-complementary
#CD8BFC #F3FC8B #8BFC95
monochromatic
#9A14F9 #B34FFA #CD8BFC #E7C7FE #F2E1FE

Accessibility & contrast

On white

2.42
#CD8BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#CD8BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BFC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BFC#FFFFFF#000000##000000
##CD8BFC1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8bfc;
/* rgb */ color: rgb(205, 139, 252);
/* oklch */ color: oklch(74.6% 0.170 309.8);
Tailwind
colors: {
  custom: {
    50: '#deaefe',
    500: '#cd8bfc',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bfc;
$custom-light: #deaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bfc",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 275.044,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74582,
    "c": 0.16963,
    "h": 309.8
  },
  "luminance": 0.38473
}

Semantic roles & 50–950 ramp

primary
#CD8BFC
secondary
#E3F6D5
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD8BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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