#CD89FA#CD89FA

#CD89FA is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.2% C 0.171 H 310.6°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#CD89FA
RGBrgb(205, 137, 250)
HSLhsl(276, 92%, 76%)
HSVhsv(276, 45%, 98%)
CMYKcmyk(18%, 45.2%, 0%, 2%)
CIE-LABlab(67.85, 45.86, -46.54)
CIE-LCHlch(67.85, 65.34, 314.58°)
OKLaboklab(74.17% 0.111 -0.1295)
OKLCHoklch(74.17% 0.171 310.6)
XYZxyz(51.3747, 37.7734, 95.0086)
Luminance0.3777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89FA #B6FA89
analogous
#9489FA #CD89FA #FA89EF
triadic
#CD89FA #FACD89 #89FACD
tetradic
#CD89FA #FA9489 #B6FA89 #89EFFA
square
#CD89FA #FA9489 #B6FA89 #89EFFA
split-complementary
#CD89FA #EFFA89 #89FA94
monochromatic
#9B14F5 #B44EF8 #CD89FA #E6C4FC #F3E2FE

Accessibility & contrast

On white

2.45
#CD89FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#CD89FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89FA
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89FA#FFFFFF#000000##000000
##CD89FA1.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#C89BB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd89fa;
/* rgb */ color: rgb(205, 137, 250);
/* oklch */ color: oklch(74.2% 0.171 310.6);
Tailwind
colors: {
  custom: {
    50: '#deadfc',
    500: '#cd89fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd89fa;
$custom-light: #deadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89fa",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 276.106,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74167,
    "c": 0.17057,
    "h": 310.6
  },
  "luminance": 0.37773
}

Semantic roles & 50–950 ramp

primary
#CD89FA
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD89FA

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

Preview Lab → · Contrast checker → · Palette generator →

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