#912DAB#912DAB

#912DAB is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.200 H 318.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#912DAB
RGBrgb(145, 45, 171)
HSLhsl(288, 58%, 42%)
HSVhsv(288, 74%, 67%)
CMYKcmyk(15.2%, 73.7%, 0%, 32.9%)
CIE-LABlab(39.31, 58.84, -47.36)
CIE-LCHlch(39.31, 75.53, 321.17°)
OKLaboklab(50.27% 0.1497 -0.133)
OKLCHoklch(50.27% 0.2 318.4)
XYZxyz(19.9651, 10.8377, 39.5604)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DAB #47AB2D
analogous
#522DAB #912DAB #AB2D86
triadic
#912DAB #AB912D #2DAB91
tetradic
#912DAB #AB522D #47AB2D #2D86AB
square
#912DAB #AB522D #47AB2D #2D86AB
split-complementary
#912DAB #86AB2D #2DAB52
monochromatic
#3F144A #68207B #912DAB #B247CE #C777DB

Accessibility & contrast

On white

6.63
#912DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#912DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DAB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DAB#FFFFFF#000000##FFFFFF
##912DAB1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#3460A8
Tritanopia (blue-blind)
#90476A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912dab;
/* rgb */ color: rgb(145, 45, 171);
/* oklch */ color: oklch(50.3% 0.200 318.4);
Tailwind
colors: {
  custom: {
    50: '#b570c5',
    500: '#912dab',
    950: '#000000',
  },
}
SCSS
$custom: #912dab;
$custom-light: #b570c5;
$custom-dark: #000000;
JSON
{
  "hex": "#912dab",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 287.619,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.20028,
    "h": 318.4
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#912DAB
secondary
#82C371
accent
#E24666
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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