#CD89F9#CD89F9

#CD89F9 is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.1% C 0.169 H 310.9°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#CD89F9
RGBrgb(205, 137, 249)
HSLhsl(276, 90%, 76%)
HSVhsv(276, 45%, 98%)
CMYKcmyk(17.7%, 45%, 0%, 2.4%)
CIE-LABlab(67.81, 45.64, -46.07)
CIE-LCHlch(67.81, 64.85, 314.73°)
OKLaboklab(74.12% 0.1108 -0.1281)
OKLCHoklch(74.12% 0.169 310.9)
XYZxyz(51.2183, 37.7109, 94.1849)
Luminance0.3771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89F9 #B5F989
analogous
#9589F9 #CD89F9 #F989ED
triadic
#CD89F9 #F9CD89 #89F9CD
tetradic
#CD89F9 #F99589 #B5F989 #89EDF9
square
#CD89F9 #F99589 #B5F989 #89EDF9
split-complementary
#CD89F9 #EDF989 #89F995
monochromatic
#9C15F3 #B44FF6 #CD89F9 #E6C3FC #F3E2FE

Accessibility & contrast

On white

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

On black

8.54
#CD89F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89F9
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89F9#FFFFFF#000000##000000
##CD89F91.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FD
Deuteranopia (green-blind)
#82A7F6
Tritanopia (blue-blind)
#C89AB5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd89f9;
/* rgb */ color: rgb(205, 137, 249);
/* oklch */ color: oklch(74.1% 0.169 310.9);
Tailwind
colors: {
  custom: {
    50: '#deadfb',
    500: '#cd89f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd89f9;
$custom-light: #deadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89f9",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 249
  },
  "hsl": {
    "h": 276.429,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74117,
    "c": 0.16943,
    "h": 310.9
  },
  "luminance": 0.3771
}

Semantic roles & 50–950 ramp

primary
#CD89F9
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD89F9

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

Preview Lab → · Contrast checker → · Palette generator →

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