#CD89FB#CD89FB

#CD89FB is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.2% C 0.172 H 310.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CD89FB
RGBrgb(205, 137, 251)
HSLhsl(276, 93%, 76%)
HSVhsv(276, 45%, 98%)
CMYKcmyk(18.3%, 45.4%, 0%, 1.6%)
CIE-LABlab(67.90, 46.07, -47.02)
CIE-LCHlch(67.90, 65.83, 314.42°)
OKLaboklab(74.22% 0.1111 -0.1309)
OKLCHoklch(74.22% 0.172 310.3)
XYZxyz(51.5319, 37.8363, 95.8365)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89FB #B7FB89
analogous
#9489FB #CD89FB #FB89F0
triadic
#CD89FB #FBCD89 #89FBCD
tetradic
#CD89FB #FB9489 #B7FB89 #89F0FB
square
#CD89FB #FB9489 #B7FB89 #89F0FB
split-complementary
#CD89FB #F0FB89 #89FB94
monochromatic
#9B13F7 #B44EF9 #CD89FB #E6C4FD #F2E1FE

Accessibility & contrast

On white

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

On black

8.57
#CD89FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89FB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89FB#FFFFFF#000000##000000
##CD89FB1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#81A7F8
Tritanopia (blue-blind)
#C89BB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd89fb;
/* rgb */ color: rgb(205, 137, 251);
/* oklch */ color: oklch(74.2% 0.172 310.3);
Tailwind
colors: {
  custom: {
    50: '#deadfd',
    500: '#cd89fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd89fb;
$custom-light: #deadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89fb",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 275.789,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74217,
    "c": 0.1717,
    "h": 310.3
  },
  "luminance": 0.37835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD89FB

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

Preview Lab → · Contrast checker → · Palette generator →

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