#9D50DD#9D50DD

#9D50DD is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.1% C 0.209 H 306.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9D50DD
RGBrgb(157, 80, 221)
HSLhsl(273, 67%, 59%)
HSVhsv(273, 64%, 87%)
CMYKcmyk(29%, 63.8%, 0%, 13.3%)
CIE-LABlab(49.65, 56.79, -59.69)
CIE-LCHlch(49.65, 82.39, 313.57°)
OKLaboklab(59.06% 0.1232 -0.169)
OKLCHoklch(59.06% 0.209 306.1)
XYZxyz(29.8216, 18.1261, 70.3203)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50DD #90DD50
analogous
#5750DD #9D50DD #DD50D7
triadic
#9D50DD #DD9D50 #50DD9D
tetradic
#9D50DD #DD5750 #90DD50 #50D7DD
square
#9D50DD #DD5750 #90DD50 #50D7DD
split-complementary
#9D50DD #D7DD50 #50DD57
monochromatic
#5F1D96 #7F27C9 #9D50DD #BA83E7 #D6B6F1

Accessibility & contrast

On white

4.54
#9D50DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9D50DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D50DD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50DD#FFFFFF#000000##000000
##9D50DD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#2F76DA
Tritanopia (blue-blind)
#926E90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d50dd;
/* rgb */ color: rgb(157, 80, 221);
/* oklch */ color: oklch(59.1% 0.209 306.1);
Tailwind
colors: {
  custom: {
    50: '#be86e8',
    500: '#9d50dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d50dd;
$custom-light: #be86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50dd",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 272.766,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.20913,
    "h": 306.1
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#9D50DD
secondary
#C2E0A9
accent
#EA3D8C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D50DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9D50DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva