#CD89F1#CD89F1

#CD89F1 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.7% C 0.160 H 313.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CD89F1
RGBrgb(205, 137, 241)
HSLhsl(279, 79%, 74%)
HSVhsv(279, 43%, 95%)
CMYKcmyk(14.9%, 43.2%, 0%, 5.5%)
CIE-LABlab(67.44, 43.95, -42.25)
CIE-LCHlch(67.44, 60.97, 316.13°)
OKLaboklab(73.73% 0.1096 -0.1171)
OKLCHoklch(73.73% 0.16 313.1)
XYZxyz(49.9970, 37.2224, 87.7529)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89F1 #ADF189
analogous
#9989F1 #CD89F1 #F189E1
triadic
#CD89F1 #F1CD89 #89F1CD
tetradic
#CD89F1 #F19989 #ADF189 #89E1F1
square
#CD89F1 #F19989 #ADF189 #89E1F1
split-complementary
#CD89F1 #E1F189 #89F199
monochromatic
#9F1CE4 #B652EB #CD89F1 #E4C0F7 #F3E4FC

Accessibility & contrast

On white

2.49
#CD89F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CD89F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89F1
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89F1#FFFFFF#000000##000000
##CD89F11.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F5
Deuteranopia (green-blind)
#86A6EE
Tritanopia (blue-blind)
#CA98B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd89f1;
/* rgb */ color: rgb(205, 137, 241);
/* oklch */ color: oklch(73.7% 0.160 313.1);
Tailwind
colors: {
  custom: {
    50: '#deadf6',
    500: '#cd89f1',
    950: '#000000',
  },
}
SCSS
$custom: #cd89f1;
$custom-light: #deadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89f1",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 241
  },
  "hsl": {
    "h": 279.231,
    "s": 78.788,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73726,
    "c": 0.16039,
    "h": 313.1
  },
  "luminance": 0.37221
}

Semantic roles & 50–950 ramp

primary
#CD89F1
secondary
#E1F4D7
accent
#DB0A53
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD89F1

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

Preview Lab → · Contrast checker → · Palette generator →

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