#9152E9#9152E9

#9152E9 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.217 H 298.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9152E9
RGBrgb(145, 82, 233)
HSLhsl(265, 77%, 62%)
HSVhsv(265, 65%, 91%)
CMYKcmyk(37.8%, 64.8%, 0%, 8.6%)
CIE-LABlab(49.42, 56.16, -66.91)
CIE-LCHlch(49.42, 87.36, 310.01°)
OKLaboklab(58.84% 0.1042 -0.1906)
OKLCHoklch(58.84% 0.217 298.7)
XYZxyz(29.3986, 17.9371, 78.9883)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152E9 #AAE952
analogous
#525FE9 #9152E9 #DD52E9
triadic
#9152E9 #E99152 #52E991
tetradic
#9152E9 #E9525F #AAE952 #52E9DD
square
#9152E9 #E9525F #AAE952 #52E9DD
split-complementary
#9152E9 #E9DD52 #5FE952
monochromatic
#5416AB #6F1DE1 #9152E9 #B488F0 #D6BFF7

Accessibility & contrast

On white

4.58
#9152E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9152E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9152E9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152E9#FFFFFF#000000##000000
##9152E91.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#7D7597
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9152e9;
/* rgb */ color: rgb(145, 82, 233);
/* oklch */ color: oklch(58.8% 0.217 298.7);
Tailwind
colors: {
  custom: {
    50: '#b786f1',
    500: '#9152e9',
    950: '#000000',
  },
}
SCSS
$custom: #9152e9;
$custom-light: #b786f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9152e9",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 265.033,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.21725,
    "h": 298.7
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

primary
#9152E9
secondary
#D0E7AF
accent
#DA0C84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9152E9

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

Preview Lab → · Contrast checker → · Palette generator →

#9152E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva