#9B52DF#9B52DF

#9B52DF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.208 H 304.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9B52DF
RGBrgb(155, 82, 223)
HSLhsl(271, 69%, 60%)
HSVhsv(271, 63%, 87%)
CMYKcmyk(30.5%, 63.2%, 0%, 12.5%)
CIE-LABlab(49.90, 55.84, -60.44)
CIE-LCHlch(49.90, 82.28, 312.73°)
OKLaboklab(59.23% 0.1182 -0.1713)
OKLCHoklch(59.23% 0.208 304.6)
XYZxyz(29.8512, 18.3310, 71.7633)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52DF #96DF52
analogous
#5552DF #9B52DF #DF52DC
triadic
#9B52DF #DF9B52 #52DF9B
tetradic
#9B52DF #DF5552 #96DF52 #52DCDF
square
#9B52DF #DF5552 #96DF52 #52DCDF
split-complementary
#9B52DF #DCDF52 #52DF55
monochromatic
#5E1D9A #7D26CE #9B52DF #B986E9 #D7B9F2

Accessibility & contrast

On white

4.50
#9B52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9B52DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B52DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52DF#FFFFFF#000000##000000
##9B52DF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#2C77DC
Tritanopia (blue-blind)
#8F7091
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b52df;
/* rgb */ color: rgb(155, 82, 223);
/* oklch */ color: oklch(59.2% 0.208 304.6);
Tailwind
colors: {
  custom: {
    50: '#bd87ea',
    500: '#9b52df',
    950: '#000000',
  },
}
SCSS
$custom: #9b52df;
$custom-light: #bd87ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52df",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 271.064,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59227,
    "c": 0.20811,
    "h": 304.6
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#9B52DF
secondary
#C5E2AB
accent
#EC3C91
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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