#CD89F3#CD89F3

#CD89F3 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.8% C 0.163 H 312.5°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#CD89F3
RGBrgb(205, 137, 243)
HSLhsl(278, 82%, 75%)
HSVhsv(278, 44%, 95%)
CMYKcmyk(15.6%, 43.6%, 0%, 4.7%)
CIE-LABlab(67.53, 44.37, -43.21)
CIE-LCHlch(67.53, 61.93, 315.76°)
OKLaboklab(73.82% 0.1099 -0.1199)
OKLCHoklch(73.82% 0.163 312.5)
XYZxyz(50.2974, 37.3425, 89.3349)
Luminance0.3734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89F3 #AFF389
analogous
#9889F3 #CD89F3 #F389E4
triadic
#CD89F3 #F3CD89 #89F3CD
tetradic
#CD89F3 #F39889 #AFF389 #89E4F3
square
#CD89F3 #F39889 #AFF389 #89E4F3
split-complementary
#CD89F3 #E4F389 #89F398
monochromatic
#9E1AE8 #B551ED #CD89F3 #E5C1F9 #F3E3FC

Accessibility & contrast

On white

2.48
#CD89F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#CD89F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89F3
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89F3#FFFFFF#000000##000000
##CD89F31.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F7
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#C999B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd89f3;
/* rgb */ color: rgb(205, 137, 243);
/* oklch */ color: oklch(73.8% 0.163 312.5);
Tailwind
colors: {
  custom: {
    50: '#deadf7',
    500: '#cd89f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd89f3;
$custom-light: #deadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89f3",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 243
  },
  "hsl": {
    "h": 278.491,
    "s": 81.538,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73823,
    "c": 0.16264,
    "h": 312.5
  },
  "luminance": 0.37342
}

Semantic roles & 50–950 ramp

primary
#CD89F3
secondary
#E1F4D7
accent
#DE0854
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD89F3

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

Preview Lab → · Contrast checker → · Palette generator →

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