#9D50DE#9D50DE

#9D50DE is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.1% C 0.210 H 305.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9D50DE
RGBrgb(157, 80, 222)
HSLhsl(273, 68%, 59%)
HSVhsv(273, 64%, 87%)
CMYKcmyk(29.3%, 64%, 0%, 12.9%)
CIE-LABlab(49.71, 57.02, -60.15)
CIE-LCHlch(49.71, 82.88, 313.47°)
OKLaboklab(59.13% 0.1231 -0.1704)
OKLCHoklch(59.13% 0.21 305.9)
XYZxyz(29.9552, 18.1796, 71.0240)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50DE #91DE50
analogous
#5650DE #9D50DE #DE50D8
triadic
#9D50DE #DE9D50 #50DE9D
tetradic
#9D50DE #DE5650 #91DE50 #50D8DE
square
#9D50DE #DE5650 #91DE50 #50D8DE
split-complementary
#9D50DE #D8DE50 #50DE56
monochromatic
#5F1C97 #7F26CB #9D50DE #BA83E8 #D7B7F1

Accessibility & contrast

On white

4.53
#9D50DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9D50DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D50DE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50DE#FFFFFF#000000##000000
##9D50DE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d50de;
/* rgb */ color: rgb(157, 80, 222);
/* oklch */ color: oklch(59.1% 0.210 305.9);
Tailwind
colors: {
  custom: {
    50: '#be86e9',
    500: '#9d50de',
    950: '#000000',
  },
}
SCSS
$custom: #9d50de;
$custom-light: #be86e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50de",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 222
  },
  "hsl": {
    "h": 272.535,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59128,
    "c": 0.2102,
    "h": 305.9
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#9D50DE
secondary
#C3E1A9
accent
#EB3D8D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D50DE

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

Preview Lab → · Contrast checker → · Palette generator →

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