#CD8BF0#CD8BF0

#CD8BF0 is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.0% C 0.156 H 313.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#CD8BF0
RGBrgb(205, 139, 240)
HSLhsl(279, 77%, 74%)
HSVhsv(279, 42%, 94%)
CMYKcmyk(14.6%, 42.1%, 0%, 5.9%)
CIE-LABlab(67.83, 42.67, -41.11)
CIE-LCHlch(67.83, 59.25, 316.07°)
OKLaboklab(74% 0.1066 -0.1138)
OKLCHoklch(74% 0.156 313.1)
XYZxyz(50.1350, 37.7367, 87.0640)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BF0 #AEF08B
analogous
#9B8BF0 #CD8BF0 #F08BE1
triadic
#CD8BF0 #F0CD8B #8BF0CD
tetradic
#CD8BF0 #F09B8B #AEF08B #8BE1F0
square
#CD8BF0 #F09B8B #AEF08B #8BE1F0
split-complementary
#CD8BF0 #E1F08B #8BF09B
monochromatic
#9E1FE2 #B655E9 #CD8BF0 #E4C1F7 #F3E4FB

Accessibility & contrast

On white

2.46
#CD8BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#CD8BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BF0
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BF0#FFFFFF#000000##000000
##CD8BF01.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A2F4
Deuteranopia (green-blind)
#88A7ED
Tritanopia (blue-blind)
#CA9AB2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8bf0;
/* rgb */ color: rgb(205, 139, 240);
/* oklch */ color: oklch(74.0% 0.156 313.1);
Tailwind
colors: {
  custom: {
    50: '#deaef5',
    500: '#cd8bf0',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bf0;
$custom-light: #deaef5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bf0",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 279.208,
    "s": 77.099,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73999,
    "c": 0.15596,
    "h": 313.1
  },
  "luminance": 0.37736
}

Semantic roles & 50–950 ramp

primary
#CD8BF0
secondary
#E1F3D8
accent
#D90C53
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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