#912EA2#912EA2

#912EA2 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.191 H 321.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#912EA2
RGBrgb(145, 46, 162)
HSLhsl(291, 56%, 41%)
HSVhsv(291, 72%, 64%)
CMYKcmyk(10.5%, 71.6%, 0%, 36.5%)
CIE-LABlab(38.87, 56.74, -42.67)
CIE-LCHlch(38.87, 71.00, 323.05°)
OKLaboklab(49.78% 0.1494 -0.1193)
OKLCHoklch(49.78% 0.191 321.4)
XYZxyz(19.1749, 10.5834, 35.2082)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EA2 #3FA22E
analogous
#572EA2 #912EA2 #A22E79
triadic
#912EA2 #A2912E #2EA291
tetradic
#912EA2 #A2572E #3FA22E #2E79A2
square
#912EA2 #A2572E #3FA22E #2E79A2
split-complementary
#912EA2 #79A22E #2EA257
monochromatic
#3C1343 #662072 #912EA2 #B643CA #C973D7

Accessibility & contrast

On white

6.74
#912EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#912EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EA2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EA2#FFFFFF#000000##FFFFFF
##912EA21.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#3C5F9F
Tritanopia (blue-blind)
#924365
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912ea2;
/* rgb */ color: rgb(145, 46, 162);
/* oklch */ color: oklch(49.8% 0.191 321.4);
Tailwind
colors: {
  custom: {
    50: '#b570be',
    500: '#912ea2',
    950: '#000000',
  },
}
SCSS
$custom: #912ea2;
$custom-light: #b570be;
$custom-dark: #000000;
JSON
{
  "hex": "#912ea2",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 291.207,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49781,
    "c": 0.1912,
    "h": 321.4
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#912EA2
secondary
#79BF6D
accent
#DF495F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912EA2

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

Preview Lab → · Contrast checker → · Palette generator →

#912EA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva