#912BC2#912BC2

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

Color values

HEX#912BC2
RGBrgb(145, 43, 194)
HSLhsl(281, 64%, 46%)
HSVhsv(281, 78%, 76%)
CMYKcmyk(25.3%, 77.8%, 0%, 23.9%)
CIE-LABlab(40.64, 64.13, -58.77)
CIE-LCHlch(40.64, 86.98, 317.49°)
OKLaboklab(51.72% 0.1481 -0.1665)
OKLCHoklch(51.72% 0.223 311.6)
XYZxyz(22.2767, 11.6431, 52.1023)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912BC2 #5CC22B
analogous
#462BC2 #912BC2 #C22BA8
triadic
#912BC2 #C2912B #2BC291
tetradic
#912BC2 #C2462B #5CC22B #2BA8C2
square
#912BC2 #C2462B #5CC22B #2BA8C2
split-complementary
#912BC2 #A8C22B #2BC246
monochromatic
#46155E #6C2090 #912BC2 #AD52D9 #C584E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##912BC2#FFFFFF#000000##FFFFFF
##912BC21.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)
#005BC6
Deuteranopia (green-blind)
#0662BF
Tritanopia (blue-blind)
#8B5076
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912bc2;
/* rgb */ color: rgb(145, 43, 194);
/* oklch */ color: oklch(51.7% 0.223 311.6);
Tailwind
colors: {
  custom: {
    50: '#b670d5',
    500: '#912bc2',
    950: '#000000',
  },
}
SCSS
$custom: #912bc2;
$custom-light: #b670d5;
$custom-dark: #000000;
JSON
{
  "hex": "#912bc2",
  "rgb": {
    "r": 145,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 280.53,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.2228,
    "h": 311.6
  },
  "luminance": 0.11643
}

Semantic roles & 50–950 ramp

primary
#912BC2
secondary
#96CD7C
accent
#E74177
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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