#9751EA#9751EA

#9751EA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.221 H 300.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9751EA
RGBrgb(151, 81, 234)
HSLhsl(267, 78%, 62%)
HSVhsv(267, 65%, 92%)
CMYKcmyk(35.5%, 65.4%, 0%, 8.2%)
CIE-LABlab(49.98, 58.10, -66.53)
CIE-LCHlch(49.98, 88.33, 311.13°)
OKLaboklab(59.42% 0.1131 -0.1893)
OKLCHoklch(59.42% 0.221 300.9)
XYZxyz(30.5526, 18.4045, 79.7687)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751EA #A4EA51
analogous
#5158EA #9751EA #E451EA
triadic
#9751EA #EA9751 #51EA97
tetradic
#9751EA #EA5158 #A4EA51 #51EAE4
square
#9751EA #EA5158 #A4EA51 #51EAE4
split-complementary
#9751EA #EAE451 #58EA51
monochromatic
#5A15AC #761BE2 #9751EA #B888F1 #D8BEF7

Accessibility & contrast

On white

4.49
#9751EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9751EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9751EA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751EA#FFFFFF#000000##000000
##9751EA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#857497
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9751ea;
/* rgb */ color: rgb(151, 81, 234);
/* oklch */ color: oklch(59.4% 0.221 300.9);
Tailwind
colors: {
  custom: {
    50: '#bb86f2',
    500: '#9751ea',
    950: '#000000',
  },
}
SCSS
$custom: #9751ea;
$custom-light: #bb86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9751ea",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 267.451,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5942,
    "c": 0.22052,
    "h": 300.9
  },
  "luminance": 0.18405
}

Semantic roles & 50–950 ramp

primary
#9751EA
secondary
#CEE8AF
accent
#DB0B7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9751EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9751EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva