#912DB3#912DB3

#912DB3 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.207 H 315.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#912DB3
RGBrgb(145, 45, 179)
HSLhsl(285, 60%, 44%)
HSVhsv(285, 75%, 70%)
CMYKcmyk(19%, 74.9%, 0%, 29.8%)
CIE-LABlab(39.84, 60.40, -51.26)
CIE-LCHlch(39.84, 79.22, 319.68°)
OKLaboklab(50.82% 0.1488 -0.1444)
OKLCHoklch(50.82% 0.207 315.9)
XYZxyz(20.7508, 11.1520, 43.6986)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DB3 #4FB32D
analogous
#4E2DB3 #912DB3 #B32D92
triadic
#912DB3 #B3912D #2DB391
tetradic
#912DB3 #B34E2D #4FB32D #2D92B3
square
#912DB3 #B34E2D #4FB32D #2D92B3
split-complementary
#912DB3 #92B32D #2DB34E
monochromatic
#421451 #692182 #912DB3 #B04BD2 #C57CDE

Accessibility & contrast

On white

6.50
#912DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#912DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DB3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DB3#FFFFFF#000000##FFFFFF
##912DB31.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#2B61B0
Tritanopia (blue-blind)
#8F4A6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912db3;
/* rgb */ color: rgb(145, 45, 179);
/* oklch */ color: oklch(50.8% 0.207 315.9);
Tailwind
colors: {
  custom: {
    50: '#b570ca',
    500: '#912db3',
    950: '#000000',
  },
}
SCSS
$custom: #912db3;
$custom-light: #b570ca;
$custom-dark: #000000;
JSON
{
  "hex": "#912db3",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 284.776,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.20739,
    "h": 315.9
  },
  "luminance": 0.11151
}

Semantic roles & 50–950 ramp

primary
#912DB3
secondary
#8AC775
accent
#E3456D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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