#CD89F6#CD89F6

#CD89F6 is a light, vivid violet. Relative luminance 0.375; OKLCH L 74.0% C 0.166 H 311.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CD89F6
RGBrgb(205, 137, 246)
HSLhsl(277, 86%, 75%)
HSVhsv(277, 44%, 96%)
CMYKcmyk(16.7%, 44.3%, 0%, 3.5%)
CIE-LABlab(67.67, 45.00, -44.64)
CIE-LCHlch(67.67, 63.39, 315.23°)
OKLaboklab(73.97% 0.1104 -0.124)
OKLCHoklch(73.97% 0.166 311.7)
XYZxyz(50.7541, 37.5252, 91.7403)
Luminance0.3752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89F6 #B2F689
analogous
#9689F6 #CD89F6 #F689E9
triadic
#CD89F6 #F6CD89 #89F6CD
tetradic
#CD89F6 #F69689 #B2F689 #89E9F6
square
#CD89F6 #F69689 #B2F689 #89E9F6
split-complementary
#CD89F6 #E9F689 #89F696
monochromatic
#9D17ED #B550F2 #CD89F6 #E5C2FA #F3E3FD

Accessibility & contrast

On white

2.47
#CD89F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#CD89F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89F6
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89F6#FFFFFF#000000##000000
##CD89F61.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1FA
Deuteranopia (green-blind)
#84A6F3
Tritanopia (blue-blind)
#C99AB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd89f6;
/* rgb */ color: rgb(205, 137, 246);
/* oklch */ color: oklch(74.0% 0.166 311.7);
Tailwind
colors: {
  custom: {
    50: '#deadf9',
    500: '#cd89f6',
    950: '#000000',
  },
}
SCSS
$custom: #cd89f6;
$custom-light: #deadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89f6",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 246
  },
  "hsl": {
    "h": 277.431,
    "s": 85.827,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73969,
    "c": 0.16603,
    "h": 311.7
  },
  "luminance": 0.37524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD89F6

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

Preview Lab → · Contrast checker → · Palette generator →

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