#912FB3#912FB3

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

Color values

HEX#912FB3
RGBrgb(145, 47, 179)
HSLhsl(285, 58%, 44%)
HSVhsv(285, 74%, 70%)
CMYKcmyk(19%, 73.7%, 0%, 29.8%)
CIE-LABlab(40.09, 59.66, -50.84)
CIE-LCHlch(40.09, 78.38, 319.56°)
OKLaboklab(51% 0.1469 -0.1432)
OKLCHoklch(51% 0.205 315.7)
XYZxyz(20.8290, 11.3082, 43.7246)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FB3 #51B32F
analogous
#4F2FB3 #912FB3 #B32F93
triadic
#912FB3 #B3912F #2FB391
tetradic
#912FB3 #B34F2F #51B32F #2F93B3
square
#912FB3 #B34F2F #51B32F #2F93B3
split-complementary
#912FB3 #93B32F #2FB34F
monochromatic
#421652 #6A2283 #912FB3 #AF4FD1 #C57FDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##912FB3#FFFFFF#000000##FFFFFF
##912FB31.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)
#0059B7
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#8F4B6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912fb3;
/* rgb */ color: rgb(145, 47, 179);
/* oklch */ color: oklch(51.0% 0.205 315.7);
Tailwind
colors: {
  custom: {
    50: '#b571ca',
    500: '#912fb3',
    950: '#000000',
  },
}
SCSS
$custom: #912fb3;
$custom-light: #b571ca;
$custom-dark: #000000;
JSON
{
  "hex": "#912fb3",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 284.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51002,
    "c": 0.20518,
    "h": 315.7
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#912FB3
secondary
#8CC678
accent
#E2466E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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