#912FB2#912FB2

#912FB2 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 50.9% C 0.204 H 316.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#912FB2
RGBrgb(145, 47, 178)
HSLhsl(285, 58%, 44%)
HSVhsv(285, 74%, 70%)
CMYKcmyk(18.5%, 73.6%, 0%, 30.2%)
CIE-LABlab(40.03, 59.46, -50.35)
CIE-LCHlch(40.03, 77.92, 319.74°)
OKLaboklab(50.93% 0.147 -0.1418)
OKLCHoklch(50.93% 0.204 316)
XYZxyz(20.7282, 11.2679, 43.1939)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FB2 #50B22F
analogous
#4F2FB2 #912FB2 #B22F92
triadic
#912FB2 #B2912F #2FB291
tetradic
#912FB2 #B24F2F #50B22F #2F92B2
square
#912FB2 #B24F2F #50B22F #2F92B2
split-complementary
#912FB2 #92B22F #2FB24F
monochromatic
#421551 #6A2282 #912FB2 #AF4ED0 #C57EDD

Accessibility & contrast

On white

6.45
#912FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#912FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FB2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FB2#FFFFFF#000000##FFFFFF
##912FB21.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#2E61AF
Tritanopia (blue-blind)
#8F4B6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912fb2;
/* rgb */ color: rgb(145, 47, 178);
/* oklch */ color: oklch(50.9% 0.204 316.0);
Tailwind
colors: {
  custom: {
    50: '#b571ca',
    500: '#912fb2',
    950: '#000000',
  },
}
SCSS
$custom: #912fb2;
$custom-light: #b571ca;
$custom-dark: #000000;
JSON
{
  "hex": "#912fb2",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 284.885,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.20428,
    "h": 316
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#912FB2
secondary
#8BC677
accent
#E1466D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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