#CD89F7#CD89F7

#CD89F7 is a light, vivid violet. Relative luminance 0.376; OKLCH L 74.0% C 0.167 H 311.4°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CD89F7
RGBrgb(205, 137, 247)
HSLhsl(277, 87%, 75%)
HSVhsv(277, 45%, 97%)
CMYKcmyk(17%, 44.5%, 0%, 3.1%)
CIE-LABlab(67.72, 45.22, -45.12)
CIE-LCHlch(67.72, 63.88, 315.06°)
OKLaboklab(74.02% 0.1105 -0.1254)
OKLCHoklch(74.02% 0.167 311.4)
XYZxyz(50.9080, 37.5868, 92.5508)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89F7 #B3F789
analogous
#9689F7 #CD89F7 #F789EA
triadic
#CD89F7 #F7CD89 #89F7CD
tetradic
#CD89F7 #F79689 #B3F789 #89EAF7
square
#CD89F7 #F79689 #B3F789 #89EAF7
split-complementary
#CD89F7 #EAF789 #89F796
monochromatic
#9C16EF #B550F3 #CD89F7 #E5C2FB #F3E2FD

Accessibility & contrast

On white

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

On black

8.52
#CD89F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89F7
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89F7#FFFFFF#000000##000000
##CD89F71.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FB
Deuteranopia (green-blind)
#83A6F4
Tritanopia (blue-blind)
#C99AB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd89f7;
/* rgb */ color: rgb(205, 137, 247);
/* oklch */ color: oklch(74.0% 0.167 311.4);
Tailwind
colors: {
  custom: {
    50: '#deadfa',
    500: '#cd89f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd89f7;
$custom-light: #deadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89f7",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 277.091,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74018,
    "c": 0.16716,
    "h": 311.4
  },
  "luminance": 0.37586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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