#9120C2#9120C2

#9120C2 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.9% C 0.232 H 312.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9120C2
RGBrgb(145, 32, 194)
HSLhsl(282, 72%, 44%)
HSVhsv(282, 84%, 76%)
CMYKcmyk(25.3%, 83.5%, 0%, 23.9%)
CIE-LABlab(39.49, 67.47, -60.64)
CIE-LCHlch(39.49, 90.72, 318.05°)
OKLaboklab(50.92% 0.1561 -0.1719)
OKLCHoklch(50.92% 0.232 312.2)
XYZxyz(21.9294, 10.9485, 51.9866)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9120C2 #51C220
analogous
#4020C2 #9120C2 #C220A2
triadic
#9120C2 #C29120 #20C291
tetradic
#9120C2 #C24020 #51C220 #20A2C2
square
#9120C2 #C24020 #51C220 #20A2C2
split-complementary
#9120C2 #A2C220 #20C240
monochromatic
#420F59 #6A178D #9120C2 #AF40DF #C574E8

Accessibility & contrast

On white

6.58
#9120C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9120C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9120C2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9120C2#FFFFFF#000000##FFFFFF
##9120C21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#8B4B74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9120c2;
/* rgb */ color: rgb(145, 32, 194);
/* oklch */ color: oklch(50.9% 0.232 312.2);
Tailwind
colors: {
  custom: {
    50: '#b76cd5',
    500: '#9120c2',
    950: '#000000',
  },
}
SCSS
$custom: #9120c2;
$custom-light: #b76cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9120c2",
  "rgb": {
    "r": 145,
    "g": 32,
    "b": 194
  },
  "hsl": {
    "h": 281.852,
    "s": 71.681,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50917,
    "c": 0.23221,
    "h": 312.2
  },
  "luminance": 0.10948
}

Semantic roles & 50–950 ramp

primary
#9120C2
secondary
#8CCF6F
accent
#EE3970
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9120C2

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

Preview Lab → · Contrast checker → · Palette generator →

#9120C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva