#9752E6#9752E6

#9752E6 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.215 H 301.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9752E6
RGBrgb(151, 82, 230)
HSLhsl(268, 75%, 61%)
HSVhsv(268, 64%, 90%)
CMYKcmyk(34.3%, 64.3%, 0%, 9.8%)
CIE-LABlab(49.89, 56.65, -64.43)
CIE-LCHlch(49.89, 85.79, 311.32°)
OKLaboklab(59.27% 0.1124 -0.1831)
OKLCHoklch(59.27% 0.215 301.5)
XYZxyz(30.0593, 18.3269, 76.8014)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752E6 #A1E652
analogous
#5257E6 #9752E6 #E152E6
triadic
#9752E6 #E69752 #52E697
tetradic
#9752E6 #E65257 #A1E652 #52E6E1
square
#9752E6 #E65257 #A1E652 #52E6E1
split-complementary
#9752E6 #E6E152 #57E652
monochromatic
#5A18A6 #7720DB #9752E6 #B787EE #D7BDF5

Accessibility & contrast

On white

4.50
#9752E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9752E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752E6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752E6#FFFFFF#000000##000000
##9752E61.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#1276E3
Tritanopia (blue-blind)
#877395
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9752e6;
/* rgb */ color: rgb(151, 82, 230);
/* oklch */ color: oklch(59.3% 0.215 301.5);
Tailwind
colors: {
  custom: {
    50: '#bb87ef',
    500: '#9752e6',
    950: '#000000',
  },
}
SCSS
$custom: #9752e6;
$custom-light: #bb87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9752e6",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 267.973,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.21489,
    "h": 301.5
  },
  "luminance": 0.18327
}

Semantic roles & 50–950 ramp

primary
#9752E6
secondary
#CCE6AE
accent
#D70F7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9752E6

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

Preview Lab → · Contrast checker → · Palette generator →

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