#912DA2#912DA2

#912DA2 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.192 H 321.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#912DA2
RGBrgb(145, 45, 162)
HSLhsl(291, 57%, 41%)
HSVhsv(291, 72%, 64%)
CMYKcmyk(10.5%, 72.2%, 0%, 36.5%)
CIE-LABlab(38.74, 57.12, -42.89)
CIE-LCHlch(38.74, 71.43, 323.10°)
OKLaboklab(49.69% 0.1504 -0.1199)
OKLCHoklch(49.69% 0.192 321.4)
XYZxyz(19.1363, 10.5062, 35.1953)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DA2 #3EA22D
analogous
#562DA2 #912DA2 #A22D78
triadic
#912DA2 #A2912D #2DA291
tetradic
#912DA2 #A2562D #3EA22D #2D78A2
square
#912DA2 #A2562D #3EA22D #2D78A2
split-complementary
#912DA2 #78A22D #2DA256
monochromatic
#3B1242 #662072 #912DA2 #B742CA #C972D8

Accessibility & contrast

On white

6.77
#912DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#912DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DA2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DA2#FFFFFF#000000##FFFFFF
##912DA21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3B5F9F
Tritanopia (blue-blind)
#924365
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912da2;
/* rgb */ color: rgb(145, 45, 162);
/* oklch */ color: oklch(49.7% 0.192 321.4);
Tailwind
colors: {
  custom: {
    50: '#b570be',
    500: '#912da2',
    950: '#000000',
  },
}
SCSS
$custom: #912da2;
$custom-light: #b570be;
$custom-dark: #000000;
JSON
{
  "hex": "#912da2",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 291.282,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.19237,
    "h": 321.4
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#912DA2
secondary
#78BF6C
accent
#E0485E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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