#9B52CF#9B52CF

#9B52CF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.2% C 0.191 H 308.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9B52CF
RGBrgb(155, 82, 207)
HSLhsl(275, 57%, 57%)
HSVhsv(275, 60%, 81%)
CMYKcmyk(25.1%, 60.4%, 0%, 18.8%)
CIE-LABlab(48.89, 52.16, -52.93)
CIE-LCHlch(48.89, 74.31, 314.58°)
OKLaboklab(58.18% 0.1189 -0.1492)
OKLCHoklch(58.18% 0.191 308.5)
XYZxyz(27.7951, 17.5086, 60.9346)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52CF #86CF52
analogous
#5D52CF #9B52CF #CF52C5
triadic
#9B52CF #CF9B52 #52CF9B
tetradic
#9B52CF #CF5D52 #86CF52 #52C5CF
square
#9B52CF #CF5D52 #86CF52 #52C5CF
split-complementary
#9B52CF #C5CF52 #52CF5D
monochromatic
#5B2482 #7D31B2 #9B52CF #B782DC #D2B2EA

Accessibility & contrast

On white

4.67
#9B52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9B52CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B52CF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52CF#FFFFFF#000000##FFFFFF
##9B52CF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D3
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#936A89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b52cf;
/* rgb */ color: rgb(155, 82, 207);
/* oklch */ color: oklch(58.2% 0.191 308.5);
Tailwind
colors: {
  custom: {
    50: '#bc86de',
    500: '#9b52cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b52cf;
$custom-light: #bc86de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52cf",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 275.04,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.19077,
    "h": 308.5
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#9B52CF
secondary
#BAD8A5
accent
#E04887
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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