#912BB8#912BB8

#912BB8 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.214 H 314.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#912BB8
RGBrgb(145, 43, 184)
HSLhsl(283, 62%, 45%)
HSVhsv(283, 77%, 72%)
CMYKcmyk(21.2%, 76.6%, 0%, 27.8%)
CIE-LABlab(39.93, 62.11, -54.06)
CIE-LCHlch(39.93, 82.34, 318.96°)
OKLaboklab(50.99% 0.1499 -0.1526)
OKLCHoklch(50.99% 0.214 314.5)
XYZxyz(21.1912, 11.2089, 46.3854)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912BB8 #52B82B
analogous
#4A2BB8 #912BB8 #B82B99
triadic
#912BB8 #B8912B #2BB891
tetradic
#912BB8 #B84A2B #52B82B #2B99B8
square
#912BB8 #B84A2B #52B82B #2B99B8
split-complementary
#912BB8 #99B82B #2BB84A
monochromatic
#431455 #6A1F86 #912BB8 #AF4BD5 #C57DE1

Accessibility & contrast

On white

6.48
#912BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#912BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912BB8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912BB8#FFFFFF#000000##FFFFFF
##912BB81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#2161B5
Tritanopia (blue-blind)
#8D4B71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912bb8;
/* rgb */ color: rgb(145, 43, 184);
/* oklch */ color: oklch(51.0% 0.214 314.5);
Tailwind
colors: {
  custom: {
    50: '#b670ce',
    500: '#912bb8',
    950: '#000000',
  },
}
SCSS
$custom: #912bb8;
$custom-light: #b670ce;
$custom-dark: #000000;
JSON
{
  "hex": "#912bb8",
  "rgb": {
    "r": 145,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 283.404,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50994,
    "c": 0.21392,
    "h": 314.5
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#912BB8
secondary
#8DC976
accent
#E54370
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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