#9B52EF#9B52EF

#9B52EF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.225 H 301.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9B52EF
RGBrgb(155, 82, 239)
HSLhsl(268, 83%, 63%)
HSVhsv(268, 66%, 94%)
CMYKcmyk(35.1%, 65.7%, 0%, 6.3%)
CIE-LABlab(50.96, 59.61, -67.74)
CIE-LCHlch(50.96, 90.23, 311.35°)
OKLaboklab(60.33% 0.1168 -0.1927)
OKLCHoklch(60.33% 0.225 301.2)
XYZxyz(32.1111, 19.2350, 83.6656)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52EF #A6EF52
analogous
#5257EF #9B52EF #E952EF
triadic
#9B52EF #EF9B52 #52EF9B
tetradic
#9B52EF #EF5257 #A6EF52 #52EFE9
square
#9B52EF #EF5257 #A6EF52 #52EFE9
split-complementary
#9B52EF #EFE952 #57EF52
monochromatic
#5E11B6 #7B1AEA #9B52EF #BB8AF4 #DCC2F9

Accessibility & contrast

On white

4.33
#9B52EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9B52EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B52EF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52EF#FFFFFF#000000##000000
##9B52EF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#89769A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b52ef;
/* rgb */ color: rgb(155, 82, 239);
/* oklch */ color: oklch(60.3% 0.225 301.2);
Tailwind
colors: {
  custom: {
    50: '#be87f5',
    500: '#9b52ef',
    950: '#000000',
  },
}
SCSS
$custom: #9b52ef;
$custom-light: #be87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52ef",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 267.898,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60333,
    "c": 0.22534,
    "h": 301.2
  },
  "luminance": 0.19235
}

Semantic roles & 50–950 ramp

primary
#9B52EF
secondary
#D0EBB2
accent
#DF067A
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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