#CD8BF7#CD8BF7

#CD8BF7 is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.3% C 0.164 H 311.1°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CD8BF7
RGBrgb(205, 139, 247)
HSLhsl(277, 87%, 76%)
HSVhsv(277, 44%, 97%)
CMYKcmyk(17%, 43.7%, 0%, 3.1%)
CIE-LABlab(68.14, 44.15, -44.45)
CIE-LCHlch(68.14, 62.65, 314.80°)
OKLaboklab(74.34% 0.1078 -0.1235)
OKLCHoklch(74.34% 0.164 311.1)
XYZxyz(51.1950, 38.1607, 92.6465)
Luminance0.3816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BF7 #B5F78B
analogous
#978BF7 #CD8BF7 #F78BEB
triadic
#CD8BF7 #F7CD8B #8BF7CD
tetradic
#CD8BF7 #F7978B #B5F78B #8BEBF7
square
#CD8BF7 #F7978B #B5F78B #8BEBF7
split-complementary
#CD8BF7 #EBF78B #8BF797
monochromatic
#9C18EF #B452F3 #CD8BF7 #E6C4FB #F3E2FD

Accessibility & contrast

On white

2.43
#CD8BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CD8BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BF7
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BF7#FFFFFF#000000##000000
##CD8BF71.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#85A7F4
Tritanopia (blue-blind)
#C89BB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8bf7;
/* rgb */ color: rgb(205, 139, 247);
/* oklch */ color: oklch(74.3% 0.164 311.1);
Tailwind
colors: {
  custom: {
    50: '#deaefa',
    500: '#cd8bf7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bf7;
$custom-light: #deaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bf7",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 276.667,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74336,
    "c": 0.16391,
    "h": 311.1
  },
  "luminance": 0.3816
}

Semantic roles & 50–950 ramp

primary
#CD8BF7
secondary
#E2F5D6
accent
#E4025A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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