#912FBF#912FBF

#912FBF is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.216 H 312.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#912FBF
RGBrgb(145, 47, 191)
HSLhsl(281, 61%, 47%)
HSVhsv(281, 75%, 75%)
CMYKcmyk(24.1%, 75.4%, 0%, 25.1%)
CIE-LABlab(40.92, 62.09, -56.57)
CIE-LCHlch(40.92, 84.00, 317.67°)
OKLaboklab(51.85% 0.1452 -0.16)
OKLCHoklch(51.85% 0.216 312.2)
XYZxyz(22.0958, 11.8150, 50.3967)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FBF #5DBF2F
analogous
#492FBF #912FBF #BF2FA5
triadic
#912FBF #BF912F #2FBF91
tetradic
#912FBF #BF492F #5DBF2F #2FA5BF
square
#912FBF #BF492F #5DBF2F #2FA5BF
split-complementary
#912FBF #A5BF2F #2FBF49
monochromatic
#46175D #6C238E #912FBF #AD56D5 #C587E1

Accessibility & contrast

On white

6.24
#912FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#912FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FBF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FBF#FFFFFF#000000##FFFFFF
##912FBF1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#1962BC
Tritanopia (blue-blind)
#8B5075
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912fbf;
/* rgb */ color: rgb(145, 47, 191);
/* oklch */ color: oklch(51.8% 0.216 312.2);
Tailwind
colors: {
  custom: {
    50: '#b672d3',
    500: '#912fbf',
    950: '#000000',
  },
}
SCSS
$custom: #912fbf;
$custom-light: #b672d3;
$custom-dark: #000000;
JSON
{
  "hex": "#912fbf",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 280.833,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51848,
    "c": 0.21609,
    "h": 312.2
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#912FBF
secondary
#97CB7F
accent
#E44477
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #912FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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