#9152CA#9152CA

#9152CA is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.182 H 305.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9152CA
RGBrgb(145, 82, 202)
HSLhsl(272, 53%, 56%)
HSVhsv(272, 59%, 79%)
CMYKcmyk(28.2%, 59.4%, 0%, 20.8%)
CIE-LABlab(47.39, 48.63, -52.53)
CIE-LCHlch(47.39, 71.58, 312.79°)
OKLaboklab(56.73% 0.1061 -0.1484)
OKLCHoklch(56.73% 0.182 305.6)
XYZxyz(25.3527, 16.3188, 57.6799)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152CA #8BCA52
analogous
#5552CA #9152CA #CA52C7
triadic
#9152CA #CA9152 #52CA91
tetradic
#9152CA #CA5552 #8BCA52 #52C7CA
square
#9152CA #CA5552 #8BCA52 #52C7CA
split-complementary
#9152CA #C7CA52 #52CA55
monochromatic
#53267C #7234AB #9152CA #AF81D8 #CDB0E7

Accessibility & contrast

On white

4.93
#9152CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9152CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152CA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152CA#FFFFFF#000000##FFFFFF
##9152CA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECE
Deuteranopia (green-blind)
#3A71C7
Tritanopia (blue-blind)
#876A86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9152ca;
/* rgb */ color: rgb(145, 82, 202);
/* oklch */ color: oklch(56.7% 0.182 305.6);
Tailwind
colors: {
  custom: {
    50: '#b585db',
    500: '#9152ca',
    950: '#000000',
  },
}
SCSS
$custom: #9152ca;
$custom-light: #b585db;
$custom-dark: #000000;
JSON
{
  "hex": "#9152ca",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 271.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.18239,
    "h": 305.6
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#9152CA
secondary
#BBD5A3
accent
#DD4B90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9152CA

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

Preview Lab → · Contrast checker → · Palette generator →

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