#912CB4#912CB4

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

Color values

HEX#912CB4
RGBrgb(145, 44, 180)
HSLhsl(285, 61%, 44%)
HSVhsv(285, 76%, 71%)
CMYKcmyk(19.4%, 75.6%, 0%, 29.4%)
CIE-LABlab(39.78, 60.96, -51.94)
CIE-LCHlch(39.78, 80.09, 319.57°)
OKLaboklab(50.8% 0.1496 -0.1464)
OKLCHoklch(50.8% 0.209 315.6)
XYZxyz(20.8146, 11.1172, 44.2206)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CB4 #4FB42C
analogous
#4D2CB4 #912CB4 #B42C93
triadic
#912CB4 #B4912C #2CB491
tetradic
#912CB4 #B44D2C #4FB42C #2C93B4
square
#912CB4 #B44D2C #4FB42C #2C93B4
split-complementary
#912CB4 #93B42C #2CB44D
monochromatic
#421452 #692083 #912CB4 #B04AD3 #C57CDF

Accessibility & contrast

On white

6.52
#912CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912CB4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CB4#FFFFFF#000000##FFFFFF
##912CB41.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#2860B1
Tritanopia (blue-blind)
#8E4A6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912cb4;
/* rgb */ color: rgb(145, 44, 180);
/* oklch */ color: oklch(50.8% 0.209 315.6);
Tailwind
colors: {
  custom: {
    50: '#b570cb',
    500: '#912cb4',
    950: '#000000',
  },
}
SCSS
$custom: #912cb4;
$custom-light: #b570cb;
$custom-dark: #000000;
JSON
{
  "hex": "#912cb4",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 284.559,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50799,
    "c": 0.20934,
    "h": 315.6
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#912CB4
secondary
#8AC775
accent
#E4446D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #912CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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