#9752EB#9752EB

#9752EB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.220 H 300.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9752EB
RGBrgb(151, 82, 235)
HSLhsl(267, 79%, 62%)
HSVhsv(267, 65%, 92%)
CMYKcmyk(35.7%, 65.1%, 0%, 7.8%)
CIE-LABlab(50.23, 57.85, -66.70)
CIE-LCHlch(50.23, 88.29, 310.94°)
OKLaboklab(59.62% 0.1119 -0.1898)
OKLCHoklch(59.62% 0.22 300.5)
XYZxyz(30.7715, 18.6118, 80.5524)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752EB #A6EB52
analogous
#5259EB #9752EB #E452EB
triadic
#9752EB #EB9752 #52EB97
tetradic
#9752EB #EB5259 #A6EB52 #52EBE4
square
#9752EB #EB5259 #A6EB52 #52EBE4
split-complementary
#9752EB #EBE452 #59EB52
monochromatic
#5A14AE #761BE5 #9752EB #B889F1 #D9C0F8

Accessibility & contrast

On white

4.45
#9752EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9752EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9752EB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752EB#FFFFFF#000000##000000
##9752EB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#857598
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9752eb;
/* rgb */ color: rgb(151, 82, 235);
/* oklch */ color: oklch(59.6% 0.220 300.5);
Tailwind
colors: {
  custom: {
    50: '#bb87f2',
    500: '#9752eb',
    950: '#000000',
  },
}
SCSS
$custom: #9752eb;
$custom-light: #bb87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9752eb",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 267.059,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59619,
    "c": 0.22035,
    "h": 300.5
  },
  "luminance": 0.18612
}

Semantic roles & 50–950 ramp

primary
#9752EB
secondary
#CFE8B0
accent
#DC0A7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9752EB

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

Preview Lab → · Contrast checker → · Palette generator →

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