#9152BF#9152BF

#9152BF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.170 H 308.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9152BF
RGBrgb(145, 82, 191)
HSLhsl(275, 46%, 54%)
HSVhsv(275, 57%, 75%)
CMYKcmyk(24.1%, 57.1%, 0%, 25.1%)
CIE-LABlab(46.73, 46.05, -47.23)
CIE-LCHlch(46.73, 65.96, 314.28°)
OKLaboklab(56.03% 0.106 -0.1328)
OKLCHoklch(56.03% 0.17 308.6)
XYZxyz(24.0965, 15.8163, 51.0636)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152BF #80BF52
analogous
#5A52BF #9152BF #BF52B6
triadic
#9152BF #BF9152 #52BF91
tetradic
#9152BF #BF5A52 #80BF52 #52B6BF
square
#9152BF #BF5A52 #80BF52 #52B6BF
split-complementary
#9152BF #B6BF52 #52BF5A
monochromatic
#51296E #71399B #9152BF #AD7FD0 #CAABE0

Accessibility & contrast

On white

5.04
#9152BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9152BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152BF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152BF#FFFFFF#000000##FFFFFF
##9152BF1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#4470BC
Tritanopia (blue-blind)
#8A6681
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9152bf;
/* rgb */ color: rgb(145, 82, 191);
/* oklch */ color: oklch(56.0% 0.170 308.6);
Tailwind
colors: {
  custom: {
    50: '#b485d3',
    500: '#9152bf',
    950: '#000000',
  },
}
SCSS
$custom: #9152bf;
$custom-light: #b485d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9152bf",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 274.679,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.16992,
    "h": 308.6
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#9152BF
secondary
#B3CE9F
accent
#D6528A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #9152BF

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

Preview Lab → · Contrast checker → · Palette generator →

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