#9751E3#9751E3

#9751E3 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.213 H 302.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9751E3
RGBrgb(151, 81, 227)
HSLhsl(269, 72%, 60%)
HSVhsv(269, 64%, 89%)
CMYKcmyk(33.5%, 64.3%, 0%, 11%)
CIE-LABlab(49.51, 56.42, -63.35)
CIE-LCHlch(49.51, 84.83, 311.69°)
OKLaboklab(58.93% 0.1138 -0.18)
OKLCHoklch(58.93% 0.213 302.3)
XYZxyz(29.5668, 18.0102, 74.5768)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9751E3 #9DE351
analogous
#5154E3 #9751E3 #E051E3
triadic
#9751E3 #E39751 #51E397
tetradic
#9751E3 #E35154 #9DE351 #51E3E0
square
#9751E3 #E35154 #9DE351 #51E3E0
split-complementary
#9751E3 #E3E051 #54E351
monochromatic
#5A1AA0 #7822D5 #9751E3 #B786EB #D6BAF4

Accessibility & contrast

On white

4.56
#9751E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9751E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9751E3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9751E3#FFFFFF#000000##000000
##9751E31.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#1875E0
Tritanopia (blue-blind)
#887193
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9751e3;
/* rgb */ color: rgb(151, 81, 227);
/* oklch */ color: oklch(58.9% 0.213 302.3);
Tailwind
colors: {
  custom: {
    50: '#bb86ed',
    500: '#9751e3',
    950: '#000000',
  },
}
SCSS
$custom: #9751e3;
$custom-light: #bb86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9751e3",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 268.767,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58928,
    "c": 0.21292,
    "h": 302.3
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9751E3

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

Preview Lab → · Contrast checker → · Palette generator →

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