#912EBA#912EBA

#912EBA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.213 H 313.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#912EBA
RGBrgb(145, 46, 186)
HSLhsl(282, 60%, 45%)
HSVhsv(282, 75%, 73%)
CMYKcmyk(22%, 75.3%, 0%, 27.1%)
CIE-LABlab(40.44, 61.44, -54.41)
CIE-LCHlch(40.44, 82.07, 318.47°)
OKLaboklab(51.4% 0.1469 -0.1537)
OKLCHoklch(51.4% 0.213 313.7)
XYZxyz(21.5154, 11.5196, 47.5350)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EBA #57BA2E
analogous
#4B2EBA #912EBA #BA2E9D
triadic
#912EBA #BA912E #2EBA91
tetradic
#912EBA #BA4B2E #57BA2E #2E9DBA
square
#912EBA #BA4B2E #57BA2E #2E9DBA
split-complementary
#912EBA #9DBA2E #2EBA4B
monochromatic
#441658 #6B2289 #912EBA #AE51D4 #C582E0

Accessibility & contrast

On white

6.36
#912EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#912EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EBA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EBA#FFFFFF#000000##FFFFFF
##912EBA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2162B7
Tritanopia (blue-blind)
#8D4E72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912eba;
/* rgb */ color: rgb(145, 46, 186);
/* oklch */ color: oklch(51.4% 0.213 313.7);
Tailwind
colors: {
  custom: {
    50: '#b671cf',
    500: '#912eba',
    950: '#000000',
  },
}
SCSS
$custom: #912eba;
$custom-light: #b671cf;
$custom-dark: #000000;
JSON
{
  "hex": "#912eba",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 282.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.514,
    "c": 0.2126,
    "h": 313.7
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

primary
#912EBA
secondary
#92C97B
accent
#E34473
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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