#CD89FC#CD89FC

#CD89FC is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.3% C 0.173 H 310.1°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CD89FC
RGBrgb(205, 137, 252)
HSLhsl(275, 95%, 76%)
HSVhsv(275, 46%, 99%)
CMYKcmyk(18.7%, 45.6%, 0%, 1.2%)
CIE-LABlab(67.95, 46.29, -47.49)
CIE-LCHlch(67.95, 66.31, 314.27°)
OKLaboklab(74.27% 0.1113 -0.1323)
OKLCHoklch(74.27% 0.173 310.1)
XYZxyz(51.6899, 37.8996, 96.6689)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89FC #B8FC89
analogous
#9489FC #CD89FC #FC89F2
triadic
#CD89FC #FCCD89 #89FCCD
tetradic
#CD89FC #FC9489 #B8FC89 #89F2FC
square
#CD89FC #FC9489 #B8FC89 #89F2FC
split-complementary
#CD89FC #F2FC89 #89FC94
monochromatic
#9A12F9 #B44DFA #CD89FC #E6C5FE #F2E1FE

Accessibility & contrast

On white

2.45
#CD89FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#CD89FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89FC
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89FC#FFFFFF#000000##000000
##CD89FC1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#C79BB7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd89fc;
/* rgb */ color: rgb(205, 137, 252);
/* oklch */ color: oklch(74.3% 0.173 310.1);
Tailwind
colors: {
  custom: {
    50: '#deadfe',
    500: '#cd89fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd89fc;
$custom-light: #deadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89fc",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 275.478,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74267,
    "c": 0.17284,
    "h": 310.1
  },
  "luminance": 0.37899
}

Semantic roles & 50–950 ramp

primary
#CD89FC
secondary
#E2F6D5
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD89FC

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

Preview Lab → · Contrast checker → · Palette generator →

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