#CD89F2#CD89F2

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

Color values

HEX#CD89F2
RGBrgb(205, 137, 242)
HSLhsl(279, 80%, 74%)
HSVhsv(279, 43%, 95%)
CMYKcmyk(15.3%, 43.4%, 0%, 5.1%)
CIE-LABlab(67.49, 44.16, -42.73)
CIE-LCHlch(67.49, 61.45, 315.94°)
OKLaboklab(73.78% 0.1097 -0.1185)
OKLCHoklch(73.78% 0.162 312.8)
XYZxyz(50.1468, 37.2823, 88.5417)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89F2 #AEF289
analogous
#9989F2 #CD89F2 #F289E3
triadic
#CD89F2 #F2CD89 #89F2CD
tetradic
#CD89F2 #F29989 #AEF289 #89E3F2
square
#CD89F2 #F29989 #AEF289 #89E3F2
split-complementary
#CD89F2 #E3F289 #89F299
monochromatic
#9E1BE6 #B652EC #CD89F2 #E4C0F8 #F3E3FC

Accessibility & contrast

On white

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

On black

8.46
#CD89F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89F2
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89F2#FFFFFF#000000##000000
##CD89F21.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd89f2;
/* rgb */ color: rgb(205, 137, 242);
/* oklch */ color: oklch(73.8% 0.162 312.8);
Tailwind
colors: {
  custom: {
    50: '#deadf7',
    500: '#cd89f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd89f2;
$custom-light: #deadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89f2",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 278.857,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73775,
    "c": 0.16152,
    "h": 312.8
  },
  "luminance": 0.37281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD89F2

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

Preview Lab → · Contrast checker → · Palette generator →

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