#912AAF#912AAF

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

Color values

HEX#912AAF
RGBrgb(145, 42, 175)
HSLhsl(286, 61%, 43%)
HSVhsv(286, 76%, 69%)
CMYKcmyk(17.1%, 76%, 0%, 31.4%)
CIE-LABlab(39.19, 60.69, -49.92)
CIE-LCHlch(39.19, 78.58, 320.56°)
OKLaboklab(50.28% 0.1521 -0.1405)
OKLCHoklch(50.28% 0.207 317.3)
XYZxyz(20.2417, 10.7717, 41.5620)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912AAF #48AF2A
analogous
#4E2AAF #912AAF #AF2A8B
triadic
#912AAF #AF912A #2AAF91
tetradic
#912AAF #AF4E2A #48AF2A #2A8BAF
square
#912AAF #AF4E2A #48AF2A #2A8BAF
split-complementary
#912AAF #8BAF2A #2AAF4E
monochromatic
#3F124C #681E7E #912AAF #B244D2 #C675DE

Accessibility & contrast

On white

6.66
#912AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#912AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912AAF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912AAF#FFFFFF#000000##FFFFFF
##912AAF1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#90476B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912aaf;
/* rgb */ color: rgb(145, 42, 175);
/* oklch */ color: oklch(50.3% 0.207 317.3);
Tailwind
colors: {
  custom: {
    50: '#b56fc8',
    500: '#912aaf',
    950: '#000000',
  },
}
SCSS
$custom: #912aaf;
$custom-light: #b56fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#912aaf",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 286.466,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50278,
    "c": 0.20703,
    "h": 317.3
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#912AAF
secondary
#83C66F
accent
#E44368
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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