#CD8BF2#CD8BF2

#CD8BF2 is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.1% C 0.158 H 312.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CD8BF2
RGBrgb(205, 139, 242)
HSLhsl(278, 80%, 75%)
HSVhsv(278, 43%, 95%)
CMYKcmyk(15.3%, 42.6%, 0%, 5.1%)
CIE-LABlab(67.91, 43.09, -42.06)
CIE-LCHlch(67.91, 60.22, 315.69°)
OKLaboklab(74.09% 0.107 -0.1166)
OKLCHoklch(74.09% 0.158 312.5)
XYZxyz(50.4337, 37.8562, 88.6374)
Luminance0.3785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BF2 #B0F28B
analogous
#9A8BF2 #CD8BF2 #F28BE3
triadic
#CD8BF2 #F2CD8B #8BF2CD
tetradic
#CD8BF2 #F29A8B #B0F28B #8BE3F2
square
#CD8BF2 #F29A8B #B0F28B #8BE3F2
split-complementary
#CD8BF2 #E3F28B #8BF29A
monochromatic
#9E1DE6 #B554EC #CD8BF2 #E5C2F8 #F3E3FC

Accessibility & contrast

On white

2.45
#CD8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CD8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BF2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BF2#FFFFFF#000000##000000
##CD8BF21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#87A7EF
Tritanopia (blue-blind)
#CA9AB3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8bf2;
/* rgb */ color: rgb(205, 139, 242);
/* oklch */ color: oklch(74.1% 0.158 312.5);
Tailwind
colors: {
  custom: {
    50: '#deaef6',
    500: '#cd8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bf2;
$custom-light: #deaef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bf2",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 278.447,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74094,
    "c": 0.15822,
    "h": 312.5
  },
  "luminance": 0.37855
}

Semantic roles & 50–950 ramp

primary
#CD8BF2
secondary
#E1F4D7
accent
#DC0955
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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