#912FBB#912FBB

#912FBB is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.212 H 313.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#912FBB
RGBrgb(145, 47, 187)
HSLhsl(282, 60%, 46%)
HSVhsv(282, 75%, 73%)
CMYKcmyk(22.5%, 74.9%, 0%, 26.7%)
CIE-LABlab(40.64, 61.27, -54.68)
CIE-LCHlch(40.64, 82.12, 318.26°)
OKLaboklab(51.56% 0.1458 -0.1545)
OKLCHoklch(51.56% 0.212 313.4)
XYZxyz(21.6616, 11.6413, 48.1100)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FBB #59BB2F
analogous
#4B2FBB #912FBB #BB2F9F
triadic
#912FBB #BB912F #2FBB91
tetradic
#912FBB #BB4B2F #59BB2F #2F9FBB
square
#912FBB #BB4B2F #59BB2F #2F9FBB
split-complementary
#912FBB #9FBB2F #2FBB4B
monochromatic
#451659 #6B238A #912FBB #AD53D4 #C584E0

Accessibility & contrast

On white

6.31
#912FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#912FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FBB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FBB#FFFFFF#000000##FFFFFF
##912FBB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#8D4F73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912fbb;
/* rgb */ color: rgb(145, 47, 187);
/* oklch */ color: oklch(51.6% 0.212 313.4);
Tailwind
colors: {
  custom: {
    50: '#b672d0',
    500: '#912fbb',
    950: '#000000',
  },
}
SCSS
$custom: #912fbb;
$custom-light: #b672d0;
$custom-dark: #000000;
JSON
{
  "hex": "#912fbb",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 282,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.21244,
    "h": 313.4
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#912FBB
secondary
#93C97C
accent
#E34574
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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