#9B52D2#9B52D2

#9B52D2 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.4% C 0.194 H 307.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9B52D2
RGBrgb(155, 82, 210)
HSLhsl(274, 59%, 57%)
HSVhsv(274, 61%, 82%)
CMYKcmyk(26.2%, 61%, 0%, 17.6%)
CIE-LABlab(49.08, 52.84, -54.35)
CIE-LCHlch(49.08, 75.81, 314.19°)
OKLaboklab(58.37% 0.1188 -0.1534)
OKLCHoklch(58.37% 0.194 307.8)
XYZxyz(28.1653, 17.6567, 62.8846)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52D2 #89D252
analogous
#5B52D2 #9B52D2 #D252C9
triadic
#9B52D2 #D29B52 #52D29B
tetradic
#9B52D2 #D25B52 #89D252 #52C9D2
square
#9B52D2 #D25B52 #89D252 #52C9D2
split-complementary
#9B52D2 #C9D252 #52D25B
monochromatic
#5C2387 #7D30B7 #9B52D2 #B783DF #D3B3EB

Accessibility & contrast

On white

4.63
#9B52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9B52D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B52D2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52D2#FFFFFF#000000##FFFFFF
##9B52D21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1372D6
Deuteranopia (green-blind)
#3D75CF
Tritanopia (blue-blind)
#936B8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b52d2;
/* rgb */ color: rgb(155, 82, 210);
/* oklch */ color: oklch(58.4% 0.194 307.8);
Tailwind
colors: {
  custom: {
    50: '#bc86e0',
    500: '#9b52d2',
    950: '#000000',
  },
}
SCSS
$custom: #9b52d2;
$custom-light: #bc86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52d2",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 274.219,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.19402,
    "h": 307.8
  },
  "luminance": 0.17656
}

Semantic roles & 50–950 ramp

primary
#9B52D2
secondary
#BCDAA6
accent
#E24689
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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