#912BB5#912BB5

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

Color values

HEX#912BB5
RGBrgb(145, 43, 181)
HSLhsl(284, 62%, 44%)
HSVhsv(284, 76%, 71%)
CMYKcmyk(19.9%, 76.2%, 0%, 29%)
CIE-LABlab(39.72, 61.51, -52.62)
CIE-LCHlch(39.72, 80.95, 319.45°)
OKLaboklab(50.78% 0.1503 -0.1484)
OKLCHoklch(50.78% 0.211 315.4)
XYZxyz(20.8801, 11.0845, 44.7467)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912BB5 #4FB52B
analogous
#4C2BB5 #912BB5 #B52B94
triadic
#912BB5 #B5912B #2BB591
tetradic
#912BB5 #B54C2B #4FB52B #2B94B5
square
#912BB5 #B54C2B #4FB52B #2B94B5
split-complementary
#912BB5 #94B52B #2BB54C
monochromatic
#421452 #691F84 #912BB5 #B049D4 #C57BE0

Accessibility & contrast

On white

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

On black

3.22
#912BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##912BB5#FFFFFF#000000##FFFFFF
##912BB51.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#2660B2
Tritanopia (blue-blind)
#8E4A6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912bb5;
/* rgb */ color: rgb(145, 43, 181);
/* oklch */ color: oklch(50.8% 0.211 315.4);
Tailwind
colors: {
  custom: {
    50: '#b670cc',
    500: '#912bb5',
    950: '#000000',
  },
}
SCSS
$custom: #912bb5;
$custom-light: #b670cc;
$custom-dark: #000000;
JSON
{
  "hex": "#912bb5",
  "rgb": {
    "r": 145,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 284.348,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50782,
    "c": 0.21127,
    "h": 315.4
  },
  "luminance": 0.11084
}

Semantic roles & 50–950 ramp

primary
#912BB5
secondary
#8AC874
accent
#E5436D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #912BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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