#912FA2#912FA2

#912FA2 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.190 H 321.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#912FA2
RGBrgb(145, 47, 162)
HSLhsl(291, 55%, 41%)
HSVhsv(291, 71%, 64%)
CMYKcmyk(10.5%, 71%, 0%, 36.5%)
CIE-LABlab(39.01, 56.35, -42.45)
CIE-LCHlch(39.01, 70.56, 323.01°)
OKLaboklab(49.88% 0.1484 -0.1187)
OKLCHoklch(49.88% 0.19 321.3)
XYZxyz(19.2144, 10.6624, 35.2214)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FA2 #40A22F
analogous
#572FA2 #912FA2 #A22F79
triadic
#912FA2 #A2912F #2FA291
tetradic
#912FA2 #A2572F #40A22F #2F79A2
square
#912FA2 #A2572F #40A22F #2F79A2
split-complementary
#912FA2 #79A22F #2FA257
monochromatic
#3C1343 #672173 #912FA2 #B645C9 #C875D7

Accessibility & contrast

On white

6.70
#912FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#912FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FA2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FA2#FFFFFF#000000##FFFFFF
##912FA21.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#3D5F9F
Tritanopia (blue-blind)
#924465
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912fa2;
/* rgb */ color: rgb(145, 47, 162);
/* oklch */ color: oklch(49.9% 0.190 321.3);
Tailwind
colors: {
  custom: {
    50: '#b571be',
    500: '#912fa2',
    950: '#000000',
  },
}
SCSS
$custom: #912fa2;
$custom-light: #b571be;
$custom-dark: #000000;
JSON
{
  "hex": "#912fa2",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 291.13,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49878,
    "c": 0.19,
    "h": 321.3
  },
  "luminance": 0.10661
}

Semantic roles & 50–950 ramp

primary
#912FA2
secondary
#7ABF6E
accent
#DE495F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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