#9B52FC#9B52FC

#9B52FC is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.3% C 0.239 H 298.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9B52FC
RGBrgb(155, 82, 252)
HSLhsl(266, 97%, 65%)
HSVhsv(266, 67%, 99%)
CMYKcmyk(38.5%, 67.5%, 0%, 1.2%)
CIE-LABlab(51.87, 62.73, -73.52)
CIE-LCHlch(51.87, 96.64, 310.48°)
OKLaboklab(61.27% 0.1151 -0.2097)
OKLCHoklch(61.27% 0.239 298.8)
XYZxyz(34.1011, 20.0310, 94.1463)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52FC #B3FC52
analogous
#525EFC #9B52FC #F052FC
triadic
#9B52FC #FC9B52 #52FC9B
tetradic
#9B52FC #FC525E #B3FC52 #52FCF0
square
#9B52FC #FC525E #B3FC52 #52FCF0
split-complementary
#9B52FC #FCF052 #5EFC52
monochromatic
#5B04D0 #7816FB #9B52FC #BE8EFD #E1CAFE

Accessibility & contrast

On white

4.19
#9B52FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9B52FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B52FC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52FC#FFFFFF#000000##000000
##9B52FC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#007AF8
Tritanopia (blue-blind)
#847BA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b52fc;
/* rgb */ color: rgb(155, 82, 252);
/* oklch */ color: oklch(61.3% 0.239 298.8);
Tailwind
colors: {
  custom: {
    50: '#bf87fe',
    500: '#9b52fc',
    950: '#000000',
  },
}
SCSS
$custom: #9b52fc;
$custom-light: #bf87fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52fc",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 252
  },
  "hsl": {
    "h": 265.765,
    "s": 96.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61273,
    "c": 0.23923,
    "h": 298.8
  },
  "luminance": 0.20031
}

Semantic roles & 50–950 ramp

primary
#9B52FC
secondary
#D9F1B8
accent
#E60083
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9B52FC

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

Preview Lab → · Contrast checker → · Palette generator →

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