#912DBF#912DBF

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

Color values

HEX#912DBF
RGBrgb(145, 45, 191)
HSLhsl(281, 62%, 46%)
HSVhsv(281, 76%, 75%)
CMYKcmyk(24.1%, 76.4%, 0%, 25.1%)
CIE-LABlab(40.67, 62.82, -56.98)
CIE-LCHlch(40.67, 84.81, 317.79°)
OKLaboklab(51.67% 0.147 -0.1612)
OKLCHoklch(51.67% 0.218 312.3)
XYZxyz(22.0177, 11.6587, 50.3706)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DBF #5BBF2D
analogous
#482DBF #912DBF #BF2DA4
triadic
#912DBF #BF912D #2DBF91
tetradic
#912DBF #BF482D #5BBF2D #2DA4BF
square
#912DBF #BF482D #5BBF2D #2DA4BF
split-complementary
#912DBF #A4BF2D #2DBF48
monochromatic
#46165C #6B218D #912DBF #AD53D6 #C584E2

Accessibility & contrast

On white

6.30
#912DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#912DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DBF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DBF#FFFFFF#000000##FFFFFF
##912DBF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#1662BC
Tritanopia (blue-blind)
#8C4F75
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912dbf;
/* rgb */ color: rgb(145, 45, 191);
/* oklch */ color: oklch(51.7% 0.218 312.3);
Tailwind
colors: {
  custom: {
    50: '#b671d3',
    500: '#912dbf',
    950: '#000000',
  },
}
SCSS
$custom: #912dbf;
$custom-light: #b671d3;
$custom-dark: #000000;
JSON
{
  "hex": "#912dbf",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 281.096,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.21815,
    "h": 312.3
  },
  "luminance": 0.11658
}

Semantic roles & 50–950 ramp

primary
#912DBF
secondary
#95CB7C
accent
#E54376
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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