#912ABC#912ABC

#912ABC is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.218 H 313.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#912ABC
RGBrgb(145, 42, 188)
HSLhsl(282, 63%, 45%)
HSVhsv(282, 78%, 74%)
CMYKcmyk(22.9%, 77.7%, 0%, 26.3%)
CIE-LABlab(40.09, 63.25, -56.15)
CIE-LCHlch(40.09, 84.58, 318.40°)
OKLaboklab(51.2% 0.15 -0.1588)
OKLCHoklch(51.2% 0.218 313.4)
XYZxyz(21.5805, 11.3072, 48.6129)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912ABC #55BC2A
analogous
#482ABC #912ABC #BC2A9E
triadic
#912ABC #BC912A #2ABC91
tetradic
#912ABC #BC482A #55BC2A #2A9EBC
square
#912ABC #BC482A #55BC2A #2A9EBC
split-complementary
#912ABC #9EBC2A #2ABC48
monochromatic
#441458 #6A1F8A #912ABC #AE4CD7 #C57EE2

Accessibility & contrast

On white

6.44
#912ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#912ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912ABC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912ABC#FFFFFF#000000##FFFFFF
##912ABC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#8C4D73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912abc;
/* rgb */ color: rgb(145, 42, 188);
/* oklch */ color: oklch(51.2% 0.218 313.4);
Tailwind
colors: {
  custom: {
    50: '#b670d1',
    500: '#912abc',
    950: '#000000',
  },
}
SCSS
$custom: #912abc;
$custom-light: #b670d1;
$custom-dark: #000000;
JSON
{
  "hex": "#912abc",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 282.329,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51198,
    "c": 0.21846,
    "h": 313.4
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#912ABC
secondary
#90CB77
accent
#E74172
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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