#9752E7#9752E7

#9752E7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.216 H 301.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9752E7
RGBrgb(151, 82, 231)
HSLhsl(268, 76%, 61%)
HSVhsv(268, 65%, 91%)
CMYKcmyk(34.6%, 64.5%, 0%, 9.4%)
CIE-LABlab(49.96, 56.89, -64.88)
CIE-LCHlch(49.96, 86.29, 311.24°)
OKLaboklab(59.34% 0.1123 -0.1845)
OKLCHoklch(59.34% 0.216 301.3)
XYZxyz(30.2001, 18.3833, 77.5431)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752E7 #A2E752
analogous
#5258E7 #9752E7 #E252E7
triadic
#9752E7 #E79752 #52E797
tetradic
#9752E7 #E75258 #A2E752 #52E7E2
square
#9752E7 #E75258 #A2E752 #52E7E2
split-complementary
#9752E7 #E7E252 #58E752
monochromatic
#5A17A7 #771FDD #9752E7 #B788EE #D8BDF6

Accessibility & contrast

On white

4.49
#9752E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9752E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752E7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752E7#FFFFFF#000000##000000
##9752E71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#0D76E4
Tritanopia (blue-blind)
#867395
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9752e7;
/* rgb */ color: rgb(151, 82, 231);
/* oklch */ color: oklch(59.3% 0.216 301.3);
Tailwind
colors: {
  custom: {
    50: '#bb87ef',
    500: '#9752e7',
    950: '#000000',
  },
}
SCSS
$custom: #9752e7;
$custom-light: #bb87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9752e7",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 267.785,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59337,
    "c": 0.21598,
    "h": 301.3
  },
  "luminance": 0.18383
}

Semantic roles & 50–950 ramp

primary
#9752E7
secondary
#CCE6AF
accent
#D80E7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9752E7

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

Preview Lab → · Contrast checker → · Palette generator →

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