#912FBD#912FBD

#912FBD is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.214 H 312.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#912FBD
RGBrgb(145, 47, 189)
HSLhsl(281, 60%, 46%)
HSVhsv(281, 75%, 74%)
CMYKcmyk(23.3%, 75.1%, 0%, 25.9%)
CIE-LABlab(40.78, 61.68, -55.62)
CIE-LCHlch(40.78, 83.06, 317.96°)
OKLaboklab(51.7% 0.1455 -0.1573)
OKLCHoklch(51.7% 0.214 312.8)
XYZxyz(21.8772, 11.7276, 49.2455)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FBD #5BBD2F
analogous
#4A2FBD #912FBD #BD2FA2
triadic
#912FBD #BD912F #2FBD91
tetradic
#912FBD #BD4A2F #5BBD2F #2FA2BD
square
#912FBD #BD4A2F #5BBD2F #2FA2BD
split-complementary
#912FBD #A2BD2F #2FBD4A
monochromatic
#46175B #6B238C #912FBD #AD55D5 #C586E1

Accessibility & contrast

On white

6.28
#912FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#912FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FBD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FBD#FFFFFF#000000##FFFFFF
##912FBD1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#1D62BA
Tritanopia (blue-blind)
#8C5074
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912fbd;
/* rgb */ color: rgb(145, 47, 189);
/* oklch */ color: oklch(51.7% 0.214 312.8);
Tailwind
colors: {
  custom: {
    50: '#b672d2',
    500: '#912fbd',
    950: '#000000',
  },
}
SCSS
$custom: #912fbd;
$custom-light: #b672d2;
$custom-dark: #000000;
JSON
{
  "hex": "#912fbd",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 281.408,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.21427,
    "h": 312.8
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#912FBD
secondary
#95CA7E
accent
#E34476
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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