#9752E2#9752E2

#9752E2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.211 H 302.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9752E2
RGBrgb(151, 82, 226)
HSLhsl(269, 71%, 60%)
HSVhsv(269, 64%, 89%)
CMYKcmyk(33.2%, 63.7%, 0%, 11.4%)
CIE-LABlab(49.62, 55.69, -62.60)
CIE-LCHlch(49.62, 83.79, 311.66°)
OKLaboklab(58.99% 0.1128 -0.1778)
OKLCHoklch(58.99% 0.211 302.4)
XYZxyz(29.5040, 18.1048, 73.8770)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752E2 #9DE252
analogous
#5255E2 #9752E2 #DF52E2
triadic
#9752E2 #E29752 #52E297
tetradic
#9752E2 #E25255 #9DE252 #52E2DF
square
#9752E2 #E25255 #9DE252 #52E2DF
split-complementary
#9752E2 #E2DF52 #55E252
monochromatic
#5A1B9F #7823D3 #9752E2 #B786EB #D6BBF4

Accessibility & contrast

On white

4.54
#9752E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9752E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752E2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752E2#FFFFFF#000000##000000
##9752E21.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#1E75DF
Tritanopia (blue-blind)
#887193
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9752e2;
/* rgb */ color: rgb(151, 82, 226);
/* oklch */ color: oklch(59.0% 0.211 302.4);
Tailwind
colors: {
  custom: {
    50: '#ba86ec',
    500: '#9752e2',
    950: '#000000',
  },
}
SCSS
$custom: #9752e2;
$custom-light: #ba86ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9752e2",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 268.75,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58989,
    "c": 0.21051,
    "h": 302.4
  },
  "luminance": 0.18105
}

Semantic roles & 50–950 ramp

primary
#9752E2
secondary
#C9E3AC
accent
#D31277
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9752E2

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

Preview Lab → · Contrast checker → · Palette generator →

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