#9152EB#9152EB

#9152EB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.219 H 298.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9152EB
RGBrgb(145, 82, 235)
HSLhsl(265, 79%, 62%)
HSVhsv(265, 65%, 92%)
CMYKcmyk(38.3%, 65.1%, 0%, 7.8%)
CIE-LABlab(49.56, 56.66, -67.81)
CIE-LCHlch(49.56, 88.37, 309.88°)
OKLaboklab(58.99% 0.104 -0.1933)
OKLCHoklch(58.99% 0.219 298.3)
XYZxyz(29.6859, 18.0521, 80.5015)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152EB #ACEB52
analogous
#525FEB #9152EB #DE52EB
triadic
#9152EB #EB9152 #52EB91
tetradic
#9152EB #EB525F #ACEB52 #52EBDE
square
#9152EB #EB525F #ACEB52 #52EBDE
split-complementary
#9152EB #EBDE52 #5FEB52
monochromatic
#5414AE #6E1BE5 #9152EB #B489F1 #D7C0F8

Accessibility & contrast

On white

4.55
#9152EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9152EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9152EB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152EB#FFFFFF#000000##000000
##9152EB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#7C7598
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9152eb;
/* rgb */ color: rgb(145, 82, 235);
/* oklch */ color: oklch(59.0% 0.219 298.3);
Tailwind
colors: {
  custom: {
    50: '#b786f2',
    500: '#9152eb',
    950: '#000000',
  },
}
SCSS
$custom: #9152eb;
$custom-light: #b786f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9152eb",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 264.706,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58986,
    "c": 0.21948,
    "h": 298.3
  },
  "luminance": 0.18052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9152EB

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

Preview Lab → · Contrast checker → · Palette generator →

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