#CD89F8#CD89F8

#CD89F8 is a light, vivid violet. Relative luminance 0.376; OKLCH L 74.1% C 0.168 H 311.1°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CD89F8
RGBrgb(205, 137, 248)
HSLhsl(277, 89%, 75%)
HSVhsv(277, 45%, 97%)
CMYKcmyk(17.3%, 44.8%, 0%, 2.7%)
CIE-LABlab(67.76, 45.43, -45.59)
CIE-LCHlch(67.76, 64.36, 314.90°)
OKLaboklab(74.07% 0.1107 -0.1268)
OKLCHoklch(74.07% 0.168 311.1)
XYZxyz(51.0628, 37.6487, 93.3657)
Luminance0.3765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD89F8 #B4F889
analogous
#9589F8 #CD89F8 #F889EB
triadic
#CD89F8 #F8CD89 #89F8CD
tetradic
#CD89F8 #F89589 #B4F889 #89EBF8
square
#CD89F8 #F89589 #B4F889 #89EBF8
split-complementary
#CD89F8 #EBF889 #89F895
monochromatic
#9C15F1 #B54FF5 #CD89F8 #E5C3FB #F3E2FD

Accessibility & contrast

On white

2.46
#CD89F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CD89F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD89F8
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD89F8#FFFFFF#000000##000000
##CD89F81.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#83A6F5
Tritanopia (blue-blind)
#C89AB5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd89f8;
/* rgb */ color: rgb(205, 137, 248);
/* oklch */ color: oklch(74.1% 0.168 311.1);
Tailwind
colors: {
  custom: {
    50: '#deadfb',
    500: '#cd89f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd89f8;
$custom-light: #deadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd89f8",
  "rgb": {
    "r": 205,
    "g": 137,
    "b": 248
  },
  "hsl": {
    "h": 276.757,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74068,
    "c": 0.1683,
    "h": 311.1
  },
  "luminance": 0.37648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD89F8

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

Preview Lab → · Contrast checker → · Palette generator →

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