#9752E4#9752E4

#9752E4 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.1% C 0.213 H 302.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9752E4
RGBrgb(151, 82, 228)
HSLhsl(268, 73%, 61%)
HSVhsv(268, 64%, 89%)
CMYKcmyk(33.8%, 64%, 0%, 10.6%)
CIE-LABlab(49.76, 56.17, -63.52)
CIE-LCHlch(49.76, 84.79, 311.49°)
OKLaboklab(59.13% 0.1126 -0.1804)
OKLCHoklch(59.13% 0.213 302)
XYZxyz(29.7801, 18.2152, 75.3307)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752E4 #9FE452
analogous
#5256E4 #9752E4 #E052E4
triadic
#9752E4 #E49752 #52E497
tetradic
#9752E4 #E45256 #9FE452 #52E4E0
square
#9752E4 #E45256 #9FE452 #52E4E0
split-complementary
#9752E4 #E4E052 #56E452
monochromatic
#5A19A2 #7722D7 #9752E4 #B787EC #D7BCF5

Accessibility & contrast

On white

4.52
#9752E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9752E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752E4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752E4#FFFFFF#000000##000000
##9752E41.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#1976E1
Tritanopia (blue-blind)
#877294
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9752e4;
/* rgb */ color: rgb(151, 82, 228);
/* oklch */ color: oklch(59.1% 0.213 302.0);
Tailwind
colors: {
  custom: {
    50: '#bb86ed',
    500: '#9752e4',
    950: '#000000',
  },
}
SCSS
$custom: #9752e4;
$custom-light: #bb86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9752e4",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 268.356,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59128,
    "c": 0.2127,
    "h": 302
  },
  "luminance": 0.18215
}

Semantic roles & 50–950 ramp

primary
#9752E4
secondary
#CAE5AD
accent
#D51078
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9752E4

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

Preview Lab → · Contrast checker → · Palette generator →

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