#9152CE#9152CE

#9152CE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.187 H 304.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9152CE
RGBrgb(145, 82, 206)
HSLhsl(270, 56%, 56%)
HSVhsv(270, 60%, 81%)
CMYKcmyk(29.6%, 60.2%, 0%, 19.2%)
CIE-LABlab(47.64, 49.58, -54.44)
CIE-LCHlch(47.64, 73.63, 312.32°)
OKLaboklab(56.98% 0.106 -0.154)
OKLCHoklch(56.98% 0.187 304.5)
XYZxyz(25.8325, 16.5107, 60.2065)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152CE #8FCE52
analogous
#5352CE #9152CE #CE52CD
triadic
#9152CE #CE9152 #52CE91
tetradic
#9152CE #CE5352 #8FCE52 #52CDCE
square
#9152CE #CE5352 #8FCE52 #52CDCE
split-complementary
#9152CE #CDCE52 #52CE53
monochromatic
#542581 #7232B1 #9152CE #AF82DC #CEB1E9

Accessibility & contrast

On white

4.88
#9152CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9152CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152CE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152CE#FFFFFF#000000##FFFFFF
##9152CE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD2
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#866B88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9152ce;
/* rgb */ color: rgb(145, 82, 206);
/* oklch */ color: oklch(57.0% 0.187 304.5);
Tailwind
colors: {
  custom: {
    50: '#b586de',
    500: '#9152ce',
    950: '#000000',
  },
}
SCSS
$custom: #9152ce;
$custom-light: #b586de;
$custom-dark: #000000;
JSON
{
  "hex": "#9152ce",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 270.484,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56984,
    "c": 0.18692,
    "h": 304.5
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#9152CE
secondary
#BDD7A4
accent
#DF4993
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9152CE

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

Preview Lab → · Contrast checker → · Palette generator →

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