#CD89F5#CD89F5

#CD89F5 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.9% C 0.165 H 311.9°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CD89F5
RGBrgb(205, 137, 245)
HSLhsl(278, 84%, 75%)
HSVhsv(278, 44%, 96%)
CMYKcmyk(16.3%, 44.1%, 0%, 3.9%)
CIE-LABlab(67.62, 44.79, -44.17)
CIE-LCHlch(67.62, 62.90, 315.40°)
OKLaboklab(73.92% 0.1102 -0.1226)
OKLCHoklch(73.92% 0.165 311.9)
XYZxyz(50.6011, 37.4640, 90.9342)
Luminance0.3746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89F5 #B1F589
analogous
#9789F5 #CD89F5 #F589E7
triadic
#CD89F5 #F5CD89 #89F5CD
tetradic
#CD89F5 #F59789 #B1F589 #89E7F5
square
#CD89F5 #F59789 #B1F589 #89E7F5
split-complementary
#CD89F5 #E7F589 #89F597
monochromatic
#9D18EB #B551F0 #CD89F5 #E5C1FA #F3E3FD

Accessibility & contrast

On white

2.47
#CD89F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CD89F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89F5
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89F5#FFFFFF#000000##000000
##CD89F51.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1F9
Deuteranopia (green-blind)
#84A6F2
Tritanopia (blue-blind)
#C999B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd89f5;
/* rgb */ color: rgb(205, 137, 245);
/* oklch */ color: oklch(73.9% 0.165 311.9);
Tailwind
colors: {
  custom: {
    50: '#deadf9',
    500: '#cd89f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd89f5;
$custom-light: #deadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89f5",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 245
  },
  "hsl": {
    "h": 277.778,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7392,
    "c": 0.1649,
    "h": 311.9
  },
  "luminance": 0.37463
}

Semantic roles & 50–950 ramp

primary
#CD89F5
secondary
#E2F5D6
accent
#E10556
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD89F5

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

Preview Lab → · Contrast checker → · Palette generator →

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