#9752E8#9752E8

#9752E8 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.217 H 301.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9752E8
RGBrgb(151, 82, 232)
HSLhsl(268, 77%, 62%)
HSVhsv(268, 65%, 91%)
CMYKcmyk(34.9%, 64.7%, 0%, 9%)
CIE-LABlab(50.03, 57.13, -65.34)
CIE-LCHlch(50.03, 86.79, 311.16°)
OKLaboklab(59.41% 0.1122 -0.1858)
OKLCHoklch(59.41% 0.217 301.1)
XYZxyz(30.3418, 18.4399, 78.2890)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752E8 #A3E852
analogous
#5258E8 #9752E8 #E252E8
triadic
#9752E8 #E89752 #52E897
tetradic
#9752E8 #E85258 #A3E852 #52E8E2
square
#9752E8 #E85258 #A3E852 #52E8E2
split-complementary
#9752E8 #E8E252 #58E852
monochromatic
#5A16A9 #771EDF #9752E8 #B788EF #D8BEF6

Accessibility & contrast

On white

4.48
#9752E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9752E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752E8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752E8#FFFFFF#000000##000000
##9752E81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0876E5
Tritanopia (blue-blind)
#867496
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9752e8;
/* rgb */ color: rgb(151, 82, 232);
/* oklch */ color: oklch(59.4% 0.217 301.1);
Tailwind
colors: {
  custom: {
    50: '#bb87f0',
    500: '#9752e8',
    950: '#000000',
  },
}
SCSS
$custom: #9752e8;
$custom-light: #bb87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9752e8",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 267.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.21708,
    "h": 301.1
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#9752E8
secondary
#CDE7AF
accent
#D90D7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9752E8

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

Preview Lab → · Contrast checker → · Palette generator →

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