#912FBC#912FBC

#912FBC is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.213 H 313.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#912FBC
RGBrgb(145, 47, 188)
HSLhsl(282, 60%, 46%)
HSVhsv(282, 75%, 74%)
CMYKcmyk(22.9%, 75%, 0%, 26.3%)
CIE-LABlab(40.71, 61.48, -55.15)
CIE-LCHlch(40.71, 82.59, 318.11°)
OKLaboklab(51.63% 0.1457 -0.1559)
OKLCHoklch(51.63% 0.213 313.1)
XYZxyz(21.7691, 11.6843, 48.6758)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FBC #5ABC2F
analogous
#4A2FBC #912FBC #BC2FA0
triadic
#912FBC #BC912F #2FBC91
tetradic
#912FBC #BC4A2F #5ABC2F #2FA0BC
square
#912FBC #BC4A2F #5ABC2F #2FA0BC
split-complementary
#912FBC #A0BC2F #2FBC4A
monochromatic
#45175A #6B238B #912FBC #AD54D4 #C585E0

Accessibility & contrast

On white

6.29
#912FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#912FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FBC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FBC#FFFFFF#000000##FFFFFF
##912FBC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#8C4F74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912fbc;
/* rgb */ color: rgb(145, 47, 188);
/* oklch */ color: oklch(51.6% 0.213 313.1);
Tailwind
colors: {
  custom: {
    50: '#b672d1',
    500: '#912fbc',
    950: '#000000',
  },
}
SCSS
$custom: #912fbc;
$custom-light: #b672d1;
$custom-dark: #000000;
JSON
{
  "hex": "#912fbc",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 281.702,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.21336,
    "h": 313.1
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#912FBC
secondary
#94CA7D
accent
#E34575
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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