#912DA7#912DA7

#912DA7 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.197 H 319.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#912DA7
RGBrgb(145, 45, 167)
HSLhsl(289, 58%, 42%)
HSVhsv(289, 73%, 65%)
CMYKcmyk(13.2%, 73.1%, 0%, 34.5%)
CIE-LABlab(39.05, 58.07, -45.38)
CIE-LCHlch(39.05, 73.70, 321.99°)
OKLaboklab(50.01% 0.1501 -0.1272)
OKLCHoklch(50.01% 0.197 319.7)
XYZxyz(19.5896, 10.6875, 37.5828)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DA7 #43A72D
analogous
#542DA7 #912DA7 #A72D80
triadic
#912DA7 #A7912D #2DA791
tetradic
#912DA7 #A7542D #43A72D #2D80A7
square
#912DA7 #A7542D #43A72D #2D80A7
split-complementary
#912DA7 #80A72D #2DA754
monochromatic
#3D1347 #672077 #912DA7 #B444CD #C875DA

Accessibility & contrast

On white

6.69
#912DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#912DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DA7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DA7#FFFFFF#000000##FFFFFF
##912DA71.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#375FA4
Tritanopia (blue-blind)
#914567
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912da7;
/* rgb */ color: rgb(145, 45, 167);
/* oklch */ color: oklch(50.0% 0.197 319.7);
Tailwind
colors: {
  custom: {
    50: '#b570c2',
    500: '#912da7',
    950: '#000000',
  },
}
SCSS
$custom: #912da7;
$custom-light: #b570c2;
$custom-dark: #000000;
JSON
{
  "hex": "#912da7",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 289.18,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50009,
    "c": 0.19675,
    "h": 319.7
  },
  "luminance": 0.10687
}

Semantic roles & 50–950 ramp

primary
#912DA7
secondary
#7DC16E
accent
#E14763
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #912DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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