#9752E9#9752E9

#9752E9 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.218 H 300.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9752E9
RGBrgb(151, 82, 233)
HSLhsl(267, 77%, 62%)
HSVhsv(267, 65%, 91%)
CMYKcmyk(35.2%, 64.8%, 0%, 8.6%)
CIE-LABlab(50.09, 57.37, -65.79)
CIE-LCHlch(50.09, 87.29, 311.09°)
OKLaboklab(59.48% 0.1121 -0.1871)
OKLCHoklch(59.48% 0.218 300.9)
XYZxyz(30.4842, 18.4969, 79.0392)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752E9 #A4E952
analogous
#5259E9 #9752E9 #E252E9
triadic
#9752E9 #E99752 #52E997
tetradic
#9752E9 #E95259 #A4E952 #52E9E2
square
#9752E9 #E95259 #A4E952 #52E9E2
split-complementary
#9752E9 #E9E252 #59E952
monochromatic
#5A16AB #761DE1 #9752E9 #B888F0 #D8BFF7

Accessibility & contrast

On white

4.47
#9752E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9752E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752E9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752E9#FFFFFF#000000##000000
##9752E91.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#0276E6
Tritanopia (blue-blind)
#857497
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9752e9;
/* rgb */ color: rgb(151, 82, 233);
/* oklch */ color: oklch(59.5% 0.218 300.9);
Tailwind
colors: {
  custom: {
    50: '#bb87f1',
    500: '#9752e9',
    950: '#000000',
  },
}
SCSS
$custom: #9752e9;
$custom-light: #bb87f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9752e9",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 267.417,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59477,
    "c": 0.21817,
    "h": 300.9
  },
  "luminance": 0.18497
}

Semantic roles & 50–950 ramp

primary
#9752E9
secondary
#CEE7AF
accent
#DA0C7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9752E9

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

Preview Lab → · Contrast checker → · Palette generator →

#9752E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva