#9752E3#9752E3

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

Color values

HEX#9752E3
RGBrgb(151, 82, 227)
HSLhsl(269, 72%, 61%)
HSVhsv(269, 64%, 89%)
CMYKcmyk(33.5%, 63.9%, 0%, 11%)
CIE-LABlab(49.69, 55.93, -63.06)
CIE-LCHlch(49.69, 84.29, 311.57°)
OKLaboklab(59.06% 0.1127 -0.1791)
OKLCHoklch(59.06% 0.212 302.2)
XYZxyz(29.6417, 18.1599, 74.6017)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752E3 #9EE352
analogous
#5255E3 #9752E3 #E052E3
triadic
#9752E3 #E39752 #52E397
tetradic
#9752E3 #E35255 #9EE352 #52E3E0
square
#9752E3 #E35255 #9EE352 #52E3E0
split-complementary
#9752E3 #E3E052 #55E352
monochromatic
#5A1AA1 #7823D5 #9752E3 #B787EC #D6BBF4

Accessibility & contrast

On white

4.53
#9752E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9752E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752E3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752E3#FFFFFF#000000##000000
##9752E31.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#1B76E0
Tritanopia (blue-blind)
#887293
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9752e3;
/* rgb */ color: rgb(151, 82, 227);
/* oklch */ color: oklch(59.1% 0.212 302.2);
Tailwind
colors: {
  custom: {
    50: '#bb86ed',
    500: '#9752e3',
    950: '#000000',
  },
}
SCSS
$custom: #9752e3;
$custom-light: #bb86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9752e3",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 268.552,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.21161,
    "h": 302.2
  },
  "luminance": 0.1816
}

Semantic roles & 50–950 ramp

primary
#9752E3
secondary
#CAE4AD
accent
#D41177
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9752E3

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

Preview Lab → · Contrast checker → · Palette generator →

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