#CD89FD#CD89FD

#CD89FD is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.3% C 0.174 H 309.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CD89FD
RGBrgb(205, 137, 253)
HSLhsl(275, 97%, 76%)
HSVhsv(275, 46%, 99%)
CMYKcmyk(19%, 45.8%, 0%, 0.8%)
CIE-LABlab(67.99, 46.50, -47.96)
CIE-LCHlch(67.99, 66.80, 314.12°)
OKLaboklab(74.32% 0.1114 -0.1336)
OKLCHoklch(74.32% 0.174 309.8)
XYZxyz(51.8488, 37.9631, 97.5057)
Luminance0.3796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89FD #B9FD89
analogous
#9389FD #CD89FD #FD89F3
triadic
#CD89FD #FDCD89 #89FDCD
tetradic
#CD89FD #FD9389 #B9FD89 #89F3FD
square
#CD89FD #FD9389 #B9FD89 #89F3FD
split-complementary
#CD89FD #F3FD89 #89FD93
monochromatic
#9A11FB #B34DFC #CD89FD #E7C5FE #F2E1FE

Accessibility & contrast

On white

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

On black

8.59
#CD89FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89FD
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89FD#FFFFFF#000000##000000
##CD89FD1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd89fd;
/* rgb */ color: rgb(205, 137, 253);
/* oklch */ color: oklch(74.3% 0.174 309.8);
Tailwind
colors: {
  custom: {
    50: '#deadfe',
    500: '#cd89fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd89fd;
$custom-light: #deadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89fd",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 275.172,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74317,
    "c": 0.17398,
    "h": 309.8
  },
  "luminance": 0.37962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD89FD

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

Preview Lab → · Contrast checker → · Palette generator →

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