#9152F5#9152F5

#9152F5 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.231 H 296.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9152F5
RGBrgb(145, 82, 245)
HSLhsl(263, 89%, 64%)
HSVhsv(263, 67%, 96%)
CMYKcmyk(40.8%, 66.5%, 0%, 3.9%)
CIE-LABlab(50.27, 59.16, -72.27)
CIE-LCHlch(50.27, 93.39, 309.30°)
OKLaboklab(59.72% 0.1028 -0.2064)
OKLCHoklch(59.72% 0.231 296.5)
XYZxyz(31.1715, 18.6463, 88.3253)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152F5 #B6F552
analogous
#5265F5 #9152F5 #E252F5
triadic
#9152F5 #F59152 #52F591
tetradic
#9152F5 #F55265 #B6F552 #52F5E2
square
#9152F5 #F55265 #B6F552 #52F5E2
split-complementary
#9152F5 #F5E252 #65F552
monochromatic
#520BC1 #6C18F2 #9152F5 #B68CF8 #DBC6FC

Accessibility & contrast

On white

4.44
#9152F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9152F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9152F5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152F5#FFFFFF#000000##000000
##9152F51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#77799D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9152f5;
/* rgb */ color: rgb(145, 82, 245);
/* oklch */ color: oklch(59.7% 0.231 296.5);
Tailwind
colors: {
  custom: {
    50: '#b887f9',
    500: '#9152f5',
    950: '#000000',
  },
}
SCSS
$custom: #9152f5;
$custom-light: #b887f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9152f5",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 263.19,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59721,
    "c": 0.23054,
    "h": 296.5
  },
  "luminance": 0.18647
}

Semantic roles & 50–950 ramp

primary
#9152F5
secondary
#D8EEB5
accent
#E6008D
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #9152F5

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

Preview Lab → · Contrast checker → · Palette generator →

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