#9752E1#9752E1

#9752E1 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.209 H 302.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9752E1
RGBrgb(151, 82, 225)
HSLhsl(269, 70%, 60%)
HSVhsv(269, 64%, 88%)
CMYKcmyk(32.9%, 63.6%, 0%, 11.8%)
CIE-LABlab(49.56, 55.45, -62.14)
CIE-LCHlch(49.56, 83.28, 311.74°)
OKLaboklab(58.92% 0.1128 -0.1764)
OKLCHoklch(58.92% 0.209 302.6)
XYZxyz(29.3672, 18.0501, 73.1564)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752E1 #9CE152
analogous
#5255E1 #9752E1 #DE52E1
triadic
#9752E1 #E19752 #52E197
tetradic
#9752E1 #E15255 #9CE152 #52E1DE
square
#9752E1 #E15255 #9CE152 #52E1DE
split-complementary
#9752E1 #E1DE52 #55E152
monochromatic
#5A1B9D #7824D1 #9752E1 #B686EA #D6BAF3

Accessibility & contrast

On white

4.56
#9752E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9752E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752E1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752E1#FFFFFF#000000##000000
##9752E11.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#2075DE
Tritanopia (blue-blind)
#887192
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9752e1;
/* rgb */ color: rgb(151, 82, 225);
/* oklch */ color: oklch(58.9% 0.209 302.6);
Tailwind
colors: {
  custom: {
    50: '#ba86eb',
    500: '#9752e1',
    950: '#000000',
  },
}
SCSS
$custom: #9752e1;
$custom-light: #ba86eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9752e1",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 268.951,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5892,
    "c": 0.20941,
    "h": 302.6
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#9752E1
secondary
#C8E3AC
accent
#D21376
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9752E1

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

Preview Lab → · Contrast checker → · Palette generator →

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