#912CB2#912CB2

#912CB2 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.208 H 316.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#912CB2
RGBrgb(145, 44, 178)
HSLhsl(285, 60%, 44%)
HSVhsv(285, 75%, 70%)
CMYKcmyk(18.5%, 75.3%, 0%, 30.2%)
CIE-LABlab(39.64, 60.57, -50.98)
CIE-LCHlch(39.64, 79.16, 319.91°)
OKLaboklab(50.66% 0.1499 -0.1436)
OKLCHoklch(50.66% 0.208 316.2)
XYZxyz(20.6124, 11.0363, 43.1553)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CB2 #4DB22C
analogous
#4E2CB2 #912CB2 #B22C90
triadic
#912CB2 #B2912C #2CB291
tetradic
#912CB2 #B24E2C #4DB22C #2C90B2
square
#912CB2 #B24E2C #4DB22C #2C90B2
split-complementary
#912CB2 #90B22C #2CB24E
monochromatic
#411450 #692081 #912CB2 #B049D2 #C67ADE

Accessibility & contrast

On white

6.55
#912CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#912CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912CB2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CB2#FFFFFF#000000##FFFFFF
##912CB21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#2B60AF
Tritanopia (blue-blind)
#8F496D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912cb2;
/* rgb */ color: rgb(145, 44, 178);
/* oklch */ color: oklch(50.7% 0.208 316.2);
Tailwind
colors: {
  custom: {
    50: '#b570ca',
    500: '#912cb2',
    950: '#000000',
  },
}
SCSS
$custom: #912cb2;
$custom-light: #b570ca;
$custom-dark: #000000;
JSON
{
  "hex": "#912cb2",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 285.224,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.20757,
    "h": 316.2
  },
  "luminance": 0.11035
}

Semantic roles & 50–950 ramp

primary
#912CB2
secondary
#88C673
accent
#E4446C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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