#9152DD#9152DD

#9152DD is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.204 H 301.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9152DD
RGBrgb(145, 82, 221)
HSLhsl(267, 67%, 59%)
HSVhsv(267, 63%, 87%)
CMYKcmyk(34.4%, 62.9%, 0%, 13.3%)
CIE-LABlab(48.60, 53.20, -61.45)
CIE-LCHlch(48.60, 81.28, 310.89°)
OKLaboklab(57.99% 0.1053 -0.1746)
OKLCHoklch(57.99% 0.204 301.1)
XYZxyz(27.7424, 17.2746, 70.2654)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152DD #9EDD52
analogous
#5259DD #9152DD #D652DD
triadic
#9152DD #DD9152 #52DD91
tetradic
#9152DD #DD5259 #9EDD52 #52DDD6
square
#9152DD #DD5259 #9EDD52 #52DDD6
split-complementary
#9152DD #DDD652 #59DD52
monochromatic
#551E97 #7128CA #9152DD #B285E7 #D2B8F1

Accessibility & contrast

On white

4.71
#9152DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9152DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152DD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152DD#FFFFFF#000000##FFFFFF
##9152DD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#1C73DA
Tritanopia (blue-blind)
#817090
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9152dd;
/* rgb */ color: rgb(145, 82, 221);
/* oklch */ color: oklch(58.0% 0.204 301.1);
Tailwind
colors: {
  custom: {
    50: '#b686e8',
    500: '#9152dd',
    950: '#000000',
  },
}
SCSS
$custom: #9152dd;
$custom-light: #b686e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9152dd",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 267.194,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.20385,
    "h": 301.1
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#9152DD
secondary
#C8E0AA
accent
#EA3E9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9152DD

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

Preview Lab → · Contrast checker → · Palette generator →

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