#912BB6#912BB6

#912BB6 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.212 H 315.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#912BB6
RGBrgb(145, 43, 182)
HSLhsl(284, 62%, 44%)
HSVhsv(284, 76%, 71%)
CMYKcmyk(20.3%, 76.4%, 0%, 28.6%)
CIE-LABlab(39.79, 61.71, -53.10)
CIE-LCHlch(39.79, 81.41, 319.29°)
OKLaboklab(50.85% 0.1502 -0.1498)
OKLCHoklch(50.85% 0.212 315.1)
XYZxyz(20.9830, 11.1257, 45.2891)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912BB6 #50B62B
analogous
#4C2BB6 #912BB6 #B62B96
triadic
#912BB6 #B6912B #2BB691
tetradic
#912BB6 #B64C2B #50B62B #2B96B6
square
#912BB6 #B64C2B #50B62B #2B96B6
split-complementary
#912BB6 #96B62B #2BB64C
monochromatic
#421453 #6A1F84 #912BB6 #AF4AD4 #C57BE0

Accessibility & contrast

On white

6.51
#912BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912BB6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912BB6#FFFFFF#000000##FFFFFF
##912BB61.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#2560B3
Tritanopia (blue-blind)
#8E4A6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912bb6;
/* rgb */ color: rgb(145, 43, 182);
/* oklch */ color: oklch(50.9% 0.212 315.1);
Tailwind
colors: {
  custom: {
    50: '#b670cd',
    500: '#912bb6',
    950: '#000000',
  },
}
SCSS
$custom: #912bb6;
$custom-light: #b670cd;
$custom-dark: #000000;
JSON
{
  "hex": "#912bb6",
  "rgb": {
    "r": 145,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 284.029,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50852,
    "c": 0.21215,
    "h": 315.1
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#912BB6
secondary
#8BC875
accent
#E5436E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #912BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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