#9152EC#9152EC

#9152EC is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.1% C 0.221 H 298.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9152EC
RGBrgb(145, 82, 236)
HSLhsl(265, 80%, 62%)
HSVhsv(265, 65%, 93%)
CMYKcmyk(38.6%, 65.3%, 0%, 7.5%)
CIE-LABlab(49.63, 56.91, -68.26)
CIE-LCHlch(49.63, 88.87, 309.82°)
OKLaboklab(59.06% 0.1039 -0.1946)
OKLCHoklch(59.06% 0.221 298.1)
XYZxyz(29.8308, 18.1100, 81.2645)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152EC #ADEC52
analogous
#5260EC #9152EC #DE52EC
triadic
#9152EC #EC9152 #52EC91
tetradic
#9152EC #EC5260 #ADEC52 #52ECDE
square
#9152EC #EC5260 #ADEC52 #52ECDE
split-complementary
#9152EC #ECDE52 #60EC52
monochromatic
#5413B0 #6E1BE6 #9152EC #B489F2 #D7C0F8

Accessibility & contrast

On white

4.54
#9152EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9152EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9152EC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152EC#FFFFFF#000000##000000
##9152EC1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#7B7698
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9152ec;
/* rgb */ color: rgb(145, 82, 236);
/* oklch */ color: oklch(59.1% 0.221 298.1);
Tailwind
colors: {
  custom: {
    50: '#b786f3',
    500: '#9152ec',
    950: '#000000',
  },
}
SCSS
$custom: #9152ec;
$custom-light: #b786f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9152ec",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 264.545,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.22059,
    "h": 298.1
  },
  "luminance": 0.1811
}

Semantic roles & 50–950 ramp

primary
#9152EC
secondary
#D2E9B1
accent
#DD0986
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #9152EC

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

Preview Lab → · Contrast checker → · Palette generator →

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