#CD89FE#CD89FE

#CD89FE is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.4% C 0.175 H 309.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CD89FE
RGBrgb(205, 137, 254)
HSLhsl(275, 98%, 77%)
HSVhsv(275, 46%, 100%)
CMYKcmyk(19.3%, 46.1%, 0%, 0.4%)
CIE-LABlab(68.04, 46.72, -48.43)
CIE-LCHlch(68.04, 67.29, 313.97°)
OKLaboklab(74.37% 0.1115 -0.135)
OKLCHoklch(74.37% 0.175 309.6)
XYZxyz(52.0085, 38.0270, 98.3469)
Luminance0.3803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89FE #BAFE89
analogous
#9389FE #CD89FE #FE89F4
triadic
#CD89FE #FECD89 #89FECD
tetradic
#CD89FE #FE9389 #BAFE89 #89F4FE
square
#CD89FE #FE9389 #BAFE89 #89F4FE
split-complementary
#CD89FE #F4FE89 #89FE93
monochromatic
#9A10FD #B34CFD #CD89FE #E7C6FF #F2E1FF

Accessibility & contrast

On white

2.44
#CD89FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#CD89FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89FE
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89FE#FFFFFF#000000##000000
##CD89FE1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#C79CB8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd89fe;
/* rgb */ color: rgb(205, 137, 254);
/* oklch */ color: oklch(74.4% 0.175 309.6);
Tailwind
colors: {
  custom: {
    50: '#deadff',
    500: '#cd89fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd89fe;
$custom-light: #deadff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89fe",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 274.872,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74368,
    "c": 0.17513,
    "h": 309.6
  },
  "luminance": 0.38026
}

Semantic roles & 50–950 ramp

primary
#CD89FE
secondary
#E3F7D4
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD89FE

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

Preview Lab → · Contrast checker → · Palette generator →

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