#9D50DF#9D50DF

#9D50DF is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.211 H 305.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9D50DF
RGBrgb(157, 80, 223)
HSLhsl(272, 69%, 59%)
HSVhsv(272, 64%, 87%)
CMYKcmyk(29.6%, 64.1%, 0%, 12.5%)
CIE-LABlab(49.78, 57.25, -60.62)
CIE-LCHlch(49.78, 83.37, 313.36°)
OKLaboklab(59.2% 0.123 -0.1717)
OKLCHoklch(59.2% 0.211 305.6)
XYZxyz(30.0897, 18.2334, 71.7320)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50DF #92DF50
analogous
#5650DF #9D50DF #DF50D9
triadic
#9D50DF #DF9D50 #50DF9D
tetradic
#9D50DF #DF5650 #92DF50 #50D9DF
square
#9D50DF #DF5650 #92DF50 #50D9DF
split-complementary
#9D50DF #D9DF50 #50DF56
monochromatic
#5F1C99 #7F25CC #9D50DF #BA84E8 #D7B7F2

Accessibility & contrast

On white

4.52
#9D50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9D50DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D50DF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50DF#FFFFFF#000000##000000
##9D50DF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#2B77DC
Tritanopia (blue-blind)
#916E91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d50df;
/* rgb */ color: rgb(157, 80, 223);
/* oklch */ color: oklch(59.2% 0.211 305.6);
Tailwind
colors: {
  custom: {
    50: '#be86ea',
    500: '#9d50df',
    950: '#000000',
  },
}
SCSS
$custom: #9d50df;
$custom-light: #be86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50df",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 272.308,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59195,
    "c": 0.21126,
    "h": 305.6
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#9D50DF
secondary
#C3E1AA
accent
#EC3C8D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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