#9152EA#9152EA

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

Color values

HEX#9152EA
RGBrgb(145, 82, 234)
HSLhsl(265, 78%, 62%)
HSVhsv(265, 65%, 92%)
CMYKcmyk(38%, 65%, 0%, 8.2%)
CIE-LABlab(49.49, 56.41, -67.36)
CIE-LCHlch(49.49, 87.86, 309.94°)
OKLaboklab(58.91% 0.1041 -0.192)
OKLCHoklch(58.91% 0.218 298.5)
XYZxyz(29.5419, 17.9944, 79.7428)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152EA #ABEA52
analogous
#525FEA #9152EA #DD52EA
triadic
#9152EA #EA9152 #52EA91
tetradic
#9152EA #EA525F #ABEA52 #52EADD
square
#9152EA #EA525F #ABEA52 #52EADD
split-complementary
#9152EA #EADD52 #5FEA52
monochromatic
#5415AD #6E1CE3 #9152EA #B489F1 #D6BFF7

Accessibility & contrast

On white

4.57
#9152EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9152EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9152EA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152EA#FFFFFF#000000##000000
##9152EA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#7C7597
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9152ea;
/* rgb */ color: rgb(145, 82, 234);
/* oklch */ color: oklch(58.9% 0.218 298.5);
Tailwind
colors: {
  custom: {
    50: '#b786f2',
    500: '#9152ea',
    950: '#000000',
  },
}
SCSS
$custom: #9152ea;
$custom-light: #b786f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9152ea",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 264.868,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.21837,
    "h": 298.5
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#9152EA
secondary
#D1E8B0
accent
#DB0B85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9152EA

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

Preview Lab → · Contrast checker → · Palette generator →

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