#912EBF#912EBF

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

Color values

HEX#912EBF
RGBrgb(145, 46, 191)
HSLhsl(281, 61%, 46%)
HSVhsv(281, 76%, 75%)
CMYKcmyk(24.1%, 75.9%, 0%, 25.1%)
CIE-LABlab(40.79, 62.46, -56.77)
CIE-LCHlch(40.79, 84.41, 317.73°)
OKLaboklab(51.76% 0.1461 -0.1606)
OKLCHoklch(51.76% 0.217 312.3)
XYZxyz(22.0563, 11.7360, 50.3835)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EBF #5CBF2E
analogous
#492EBF #912EBF #BF2EA4
triadic
#912EBF #BF912E #2EBF91
tetradic
#912EBF #BF492E #5CBF2E #2EA4BF
square
#912EBF #BF492E #5CBF2E #2EA4BF
split-complementary
#912EBF #A4BF2E #2EBF49
monochromatic
#46165C #6C228E #912EBF #AD54D6 #C586E2

Accessibility & contrast

On white

6.27
#912EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912EBF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EBF#FFFFFF#000000##FFFFFF
##912EBF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #912ebf;
/* rgb */ color: rgb(145, 46, 191);
/* oklch */ color: oklch(51.8% 0.217 312.3);
Tailwind
colors: {
  custom: {
    50: '#b671d3',
    500: '#912ebf',
    950: '#000000',
  },
}
SCSS
$custom: #912ebf;
$custom-light: #b671d3;
$custom-dark: #000000;
JSON
{
  "hex": "#912ebf",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 280.966,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.21712,
    "h": 312.3
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#912EBF
secondary
#96CB7E
accent
#E44477
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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