#912EAF#912EAF

#912EAF is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.6% C 0.203 H 317.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#912EAF
RGBrgb(145, 46, 175)
HSLhsl(286, 58%, 43%)
HSVhsv(286, 74%, 69%)
CMYKcmyk(17.1%, 73.7%, 0%, 31.4%)
CIE-LABlab(39.70, 59.24, -49.11)
CIE-LCHlch(39.70, 76.95, 320.34°)
OKLaboklab(50.64% 0.1484 -0.1381)
OKLCHoklch(50.64% 0.203 317)
XYZxyz(20.3908, 11.0697, 41.6117)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EAF #4CAF2E
analogous
#512EAF #912EAF #AF2E8C
triadic
#912EAF #AF912E #2EAF91
tetradic
#912EAF #AF512E #4CAF2E #2E8CAF
square
#912EAF #AF512E #4CAF2E #2E8CAF
split-complementary
#912EAF #8CAF2E #2EAF51
monochromatic
#41154E #69217F #912EAF #B14BD0 #C67BDC

Accessibility & contrast

On white

6.53
#912EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#912EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EAF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EAF#FFFFFF#000000##FFFFFF
##912EAF1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#8F496C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912eaf;
/* rgb */ color: rgb(145, 46, 175);
/* oklch */ color: oklch(50.6% 0.203 317.0);
Tailwind
colors: {
  custom: {
    50: '#b571c8',
    500: '#912eaf',
    950: '#000000',
  },
}
SCSS
$custom: #912eaf;
$custom-light: #b571c8;
$custom-dark: #000000;
JSON
{
  "hex": "#912eaf",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 286.047,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.20271,
    "h": 317
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#912EAF
secondary
#87C574
accent
#E2466A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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