#912FBA#912FBA

#912FBA is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.212 H 313.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#912FBA
RGBrgb(145, 47, 186)
HSLhsl(282, 60%, 46%)
HSVhsv(282, 75%, 73%)
CMYKcmyk(22%, 74.7%, 0%, 27.1%)
CIE-LABlab(40.57, 61.07, -54.20)
CIE-LCHlch(40.57, 81.65, 318.41°)
OKLaboklab(51.49% 0.146 -0.1531)
OKLCHoklch(51.49% 0.212 313.6)
XYZxyz(21.5550, 11.5986, 47.5482)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FBA #58BA2F
analogous
#4B2FBA #912FBA #BA2F9D
triadic
#912FBA #BA912F #2FBA91
tetradic
#912FBA #BA4B2F #58BA2F #2F9DBA
square
#912FBA #BA4B2F #58BA2F #2F9DBA
split-complementary
#912FBA #9DBA2F #2FBA4B
monochromatic
#451658 #6B2389 #912FBA #AD53D3 #C584E0

Accessibility & contrast

On white

6.33
#912FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#912FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FBA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FBA#FFFFFF#000000##FFFFFF
##912FBA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#2362B7
Tritanopia (blue-blind)
#8D4E73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912fba;
/* rgb */ color: rgb(145, 47, 186);
/* oklch */ color: oklch(51.5% 0.212 313.6);
Tailwind
colors: {
  custom: {
    50: '#b672cf',
    500: '#912fba',
    950: '#000000',
  },
}
SCSS
$custom: #912fba;
$custom-light: #b672cf;
$custom-dark: #000000;
JSON
{
  "hex": "#912fba",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 282.302,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.21153,
    "h": 313.6
  },
  "luminance": 0.11598
}

Semantic roles & 50–950 ramp

primary
#912FBA
secondary
#93C97C
accent
#E34574
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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