#9152DC#9152DC

#9152DC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.203 H 301.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9152DC
RGBrgb(145, 82, 220)
HSLhsl(267, 66%, 59%)
HSVhsv(267, 63%, 86%)
CMYKcmyk(34.1%, 62.7%, 0%, 13.7%)
CIE-LABlab(48.54, 52.96, -60.98)
CIE-LCHlch(48.54, 80.77, 310.97°)
OKLaboklab(57.93% 0.1053 -0.1732)
OKLCHoklch(57.93% 0.203 301.3)
XYZxyz(27.6095, 17.2215, 69.5658)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152DC #9DDC52
analogous
#5258DC #9152DC #D652DC
triadic
#9152DC #DC9152 #52DC91
tetradic
#9152DC #DC5258 #9DDC52 #52DCD6
square
#9152DC #DC5258 #9DDC52 #52DCD6
split-complementary
#9152DC #DCD652 #58DC52
monochromatic
#551E95 #7129C8 #9152DC #B185E6 #D2B8F1

Accessibility & contrast

On white

4.73
#9152DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9152DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152DC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152DC#FFFFFF#000000##FFFFFF
##9152DC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#1F73D9
Tritanopia (blue-blind)
#817090
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9152dc;
/* rgb */ color: rgb(145, 82, 220);
/* oklch */ color: oklch(57.9% 0.203 301.3);
Tailwind
colors: {
  custom: {
    50: '#b686e8',
    500: '#9152dc',
    950: '#000000',
  },
}
SCSS
$custom: #9152dc;
$custom-light: #b686e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9152dc",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 267.391,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.20272,
    "h": 301.3
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

primary
#9152DC
secondary
#C7E0AA
accent
#E93F9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9152DC

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

Preview Lab → · Contrast checker → · Palette generator →

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