#9B51EE#9B51EE

#9B51EE is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.1% C 0.226 H 301.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9B51EE
RGBrgb(155, 81, 238)
HSLhsl(268, 82%, 63%)
HSVhsv(268, 66%, 93%)
CMYKcmyk(34.9%, 66%, 0%, 6.7%)
CIE-LABlab(50.72, 59.85, -67.57)
CIE-LCHlch(50.72, 90.27, 311.54°)
OKLaboklab(60.14% 0.1179 -0.1922)
OKLCHoklch(60.14% 0.226 301.5)
XYZxyz(31.8889, 19.0263, 82.8648)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B51EE #A4EE51
analogous
#5156EE #9B51EE #E951EE
triadic
#9B51EE #EE9B51 #51EE9B
tetradic
#9B51EE #EE5156 #A4EE51 #51EEE9
square
#9B51EE #EE5156 #A4EE51 #51EEE9
split-complementary
#9B51EE #EEE951 #56EE51
monochromatic
#5E11B3 #7B19E9 #9B51EE #BB89F3 #DBC1F9

Accessibility & contrast

On white

4.37
#9B51EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9B51EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B51EE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B51EE#FFFFFF#000000##000000
##9B51EE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#8A7599
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b51ee;
/* rgb */ color: rgb(155, 81, 238);
/* oklch */ color: oklch(60.1% 0.226 301.5);
Tailwind
colors: {
  custom: {
    50: '#be86f4',
    500: '#9b51ee',
    950: '#000000',
  },
}
SCSS
$custom: #9b51ee;
$custom-light: #be86f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b51ee",
  "rgb": {
    "r": 155,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 268.28,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60137,
    "c": 0.22552,
    "h": 301.5
  },
  "luminance": 0.19026
}

Semantic roles & 50–950 ramp

primary
#9B51EE
secondary
#CFEAB1
accent
#DF0779
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B51EE

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

Preview Lab → · Contrast checker → · Palette generator →

#9B51EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva