#912FAF#912FAF

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

Color values

HEX#912FAF
RGBrgb(145, 47, 175)
HSLhsl(286, 58%, 44%)
HSVhsv(286, 73%, 69%)
CMYKcmyk(17.1%, 73.1%, 0%, 31.4%)
CIE-LABlab(39.83, 58.87, -48.90)
CIE-LCHlch(39.83, 76.52, 320.29°)
OKLaboklab(50.73% 0.1474 -0.1375)
OKLCHoklch(50.73% 0.202 317)
XYZxyz(20.4303, 11.1488, 41.6249)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FAF #4DAF2F
analogous
#512FAF #912FAF #AF2F8D
triadic
#912FAF #AF912F #2FAF91
tetradic
#912FAF #AF512F #4DAF2F #2F8DAF
square
#912FAF #AF512F #4DAF2F #2F8DAF
split-complementary
#912FAF #8DAF2F #2FAF51
monochromatic
#41154F #69227F #912FAF #B04CCF #C67CDC

Accessibility & contrast

On white

6.50
#912FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#912FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FAF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FAF#FFFFFF#000000##FFFFFF
##912FAF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3161AC
Tritanopia (blue-blind)
#8F496C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912faf;
/* rgb */ color: rgb(145, 47, 175);
/* oklch */ color: oklch(50.7% 0.202 317.0);
Tailwind
colors: {
  custom: {
    50: '#b571c7',
    500: '#912faf',
    950: '#000000',
  },
}
SCSS
$custom: #912faf;
$custom-light: #b571c7;
$custom-dark: #000000;
JSON
{
  "hex": "#912faf",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 285.938,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5073,
    "c": 0.20158,
    "h": 317
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#912FAF
secondary
#88C475
accent
#E1476B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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