#9152DA#9152DA

#9152DA is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.200 H 301.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9152DA
RGBrgb(145, 82, 218)
HSLhsl(268, 65%, 59%)
HSVhsv(268, 62%, 85%)
CMYKcmyk(33.5%, 62.4%, 0%, 14.5%)
CIE-LABlab(48.41, 52.47, -60.06)
CIE-LCHlch(48.41, 79.75, 311.14°)
OKLaboklab(57.79% 0.1055 -0.1705)
OKLCHoklch(57.79% 0.2 301.7)
XYZxyz(27.3462, 17.1162, 68.1791)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152DA #9BDA52
analogous
#5257DA #9152DA #D552DA
triadic
#9152DA #DA9152 #52DA91
tetradic
#9152DA #DA5257 #9BDA52 #52DAD5
square
#9152DA #DA5257 #9BDA52 #52DAD5
split-complementary
#9152DA #DAD552 #57DA52
monochromatic
#551F92 #722AC5 #9152DA #B184E5 #D1B7F0

Accessibility & contrast

On white

4.75
#9152DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9152DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152DA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152DA#FFFFFF#000000##FFFFFF
##9152DA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#2372D7
Tritanopia (blue-blind)
#826F8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9152da;
/* rgb */ color: rgb(145, 82, 218);
/* oklch */ color: oklch(57.8% 0.200 301.7);
Tailwind
colors: {
  custom: {
    50: '#b686e6',
    500: '#9152da',
    950: '#000000',
  },
}
SCSS
$custom: #9152da;
$custom-light: #b686e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9152da",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 267.794,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.20047,
    "h": 301.7
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#9152DA
secondary
#C6DFA9
accent
#E8409A
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9152DA

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

Preview Lab → · Contrast checker → · Palette generator →

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