#912CC2#912CC2

#912CC2 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.222 H 311.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#912CC2
RGBrgb(145, 44, 194)
HSLhsl(280, 63%, 47%)
HSVhsv(280, 77%, 76%)
CMYKcmyk(25.3%, 77.3%, 0%, 23.9%)
CIE-LABlab(40.76, 63.78, -58.58)
CIE-LCHlch(40.76, 86.60, 317.43°)
OKLaboklab(51.81% 0.1472 -0.1659)
OKLCHoklch(51.81% 0.222 311.6)
XYZxyz(22.3135, 11.7167, 52.1146)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CC2 #5DC22C
analogous
#462CC2 #912CC2 #C22CA8
triadic
#912CC2 #C2912C #2CC291
tetradic
#912CC2 #C2462C #5DC22C #2CA8C2
square
#912CC2 #C2462C #5DC22C #2CA8C2
split-complementary
#912CC2 #A8C22C #2CC246
monochromatic
#46155E #6C2190 #912CC2 #AD53D8 #C585E3

Accessibility & contrast

On white

6.28
#912CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912CC2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CC2#FFFFFF#000000##FFFFFF
##912CC21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0962BF
Tritanopia (blue-blind)
#8B5076
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912cc2;
/* rgb */ color: rgb(145, 44, 194);
/* oklch */ color: oklch(51.8% 0.222 311.6);
Tailwind
colors: {
  custom: {
    50: '#b671d5',
    500: '#912cc2',
    950: '#000000',
  },
}
SCSS
$custom: #912cc2;
$custom-light: #b671d5;
$custom-dark: #000000;
JSON
{
  "hex": "#912cc2",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 280.4,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.22184,
    "h": 311.6
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#912CC2
secondary
#97CD7D
accent
#E64277
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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