#CD8BFE#CD8BFE

#CD8BFE is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.7% C 0.172 H 309.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CD8BFE
RGBrgb(205, 139, 254)
HSLhsl(274, 98%, 77%)
HSVhsv(274, 45%, 100%)
CMYKcmyk(19.3%, 45.3%, 0%, 0.4%)
CIE-LABlab(68.46, 45.66, -47.77)
CIE-LCHlch(68.46, 66.08, 313.70°)
OKLaboklab(74.68% 0.1088 -0.1331)
OKLCHoklch(74.68% 0.172 309.3)
XYZxyz(52.2955, 38.6009, 98.4425)
Luminance0.3860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BFE #BCFE8B
analogous
#948BFE #CD8BFE #FE8BF5
triadic
#CD8BFE #FECD8B #8BFECD
tetradic
#CD8BFE #FE948B #BCFE8B #8BF5FE
square
#CD8BFE #FE948B #BCFE8B #8BF5FE
split-complementary
#CD8BFE #F5FE8B #8BFE94
monochromatic
#9912FD #B34EFD #CD8BFE #E7C8FF #F2E1FF

Accessibility & contrast

On white

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

On black

8.72
#CD8BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BFE
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BFE#FFFFFF#000000##000000
##CD8BFE1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#81A8FB
Tritanopia (blue-blind)
#C79DB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8bfe;
/* rgb */ color: rgb(205, 139, 254);
/* oklch */ color: oklch(74.7% 0.172 309.3);
Tailwind
colors: {
  custom: {
    50: '#deaeff',
    500: '#cd8bfe',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bfe;
$custom-light: #deaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bfe",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 274.435,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74682,
    "c": 0.17192,
    "h": 309.3
  },
  "luminance": 0.386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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