#9752E0#9752E0

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

Color values

HEX#9752E0
RGBrgb(151, 82, 224)
HSLhsl(269, 70%, 60%)
HSVhsv(269, 63%, 88%)
CMYKcmyk(32.6%, 63.4%, 0%, 12.2%)
CIE-LABlab(49.49, 55.21, -61.68)
CIE-LCHlch(49.49, 82.78, 311.83°)
OKLaboklab(58.85% 0.1129 -0.1751)
OKLCHoklch(58.85% 0.208 302.8)
XYZxyz(29.2312, 17.9957, 72.4401)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752E0 #9BE052
analogous
#5254E0 #9752E0 #DE52E0
triadic
#9752E0 #E09752 #52E097
tetradic
#9752E0 #E05254 #9BE052 #52E0DE
square
#9752E0 #E05254 #9BE052 #52E0DE
split-complementary
#9752E0 #E0DE52 #54E052
monochromatic
#5A1C9C #7825D0 #9752E0 #B686E9 #D5BAF3

Accessibility & contrast

On white

4.57
#9752E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9752E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752E0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752E0#FFFFFF#000000##000000
##9752E01.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#2275DD
Tritanopia (blue-blind)
#897192
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9752e0;
/* rgb */ color: rgb(151, 82, 224);
/* oklch */ color: oklch(58.9% 0.208 302.8);
Tailwind
colors: {
  custom: {
    50: '#ba86ea',
    500: '#9752e0',
    950: '#000000',
  },
}
SCSS
$custom: #9752e0;
$custom-light: #ba86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9752e0",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 269.155,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.20832,
    "h": 302.8
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#9752E0
secondary
#C8E2AC
accent
#EC3B96
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9752E0

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

Preview Lab → · Contrast checker → · Palette generator →

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