#9752E5#9752E5

#9752E5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.214 H 301.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9752E5
RGBrgb(151, 82, 229)
HSLhsl(268, 74%, 61%)
HSVhsv(268, 64%, 90%)
CMYKcmyk(34.1%, 64.2%, 0%, 10.2%)
CIE-LABlab(49.82, 56.41, -63.97)
CIE-LCHlch(49.82, 85.29, 311.40°)
OKLaboklab(59.2% 0.1125 -0.1818)
OKLCHoklch(59.2% 0.214 301.8)
XYZxyz(29.9193, 18.2709, 76.0639)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752E5 #A0E552
analogous
#5256E5 #9752E5 #E052E5
triadic
#9752E5 #E59752 #52E597
tetradic
#9752E5 #E55256 #A0E552 #52E5E0
square
#9752E5 #E55256 #A0E552 #52E5E0
split-complementary
#9752E5 #E5E052 #56E552
monochromatic
#5A19A4 #7721D9 #9752E5 #B787ED #D7BCF5

Accessibility & contrast

On white

4.51
#9752E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9752E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752E5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752E5#FFFFFF#000000##000000
##9752E51.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#1576E2
Tritanopia (blue-blind)
#877394
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9752e5;
/* rgb */ color: rgb(151, 82, 229);
/* oklch */ color: oklch(59.2% 0.214 301.8);
Tailwind
colors: {
  custom: {
    50: '#bb87ee',
    500: '#9752e5',
    950: '#000000',
  },
}
SCSS
$custom: #9752e5;
$custom-light: #bb87ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9752e5",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 268.163,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59197,
    "c": 0.21379,
    "h": 301.8
  },
  "luminance": 0.18271
}

Semantic roles & 50–950 ramp

primary
#9752E5
secondary
#CBE5AE
accent
#D61079
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9752E5

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

Preview Lab → · Contrast checker → · Palette generator →

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