#912EBD#912EBD

#912EBD is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.215 H 312.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#912EBD
RGBrgb(145, 46, 189)
HSLhsl(282, 61%, 46%)
HSVhsv(282, 76%, 74%)
CMYKcmyk(23.3%, 75.7%, 0%, 25.9%)
CIE-LABlab(40.65, 62.05, -55.83)
CIE-LCHlch(40.65, 83.47, 318.02°)
OKLaboklab(51.61% 0.1464 -0.1579)
OKLCHoklch(51.61% 0.215 312.8)
XYZxyz(21.8377, 11.6485, 49.2323)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EBD #5ABD2E
analogous
#492EBD #912EBD #BD2EA1
triadic
#912EBD #BD912E #2EBD91
tetradic
#912EBD #BD492E #5ABD2E #2EA1BD
square
#912EBD #BD492E #5ABD2E #2EA1BD
split-complementary
#912EBD #A1BD2E #2EBD49
monochromatic
#45165B #6B228C #912EBD #AD53D5 #C584E1

Accessibility & contrast

On white

6.31
#912EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912EBD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EBD#FFFFFF#000000##FFFFFF
##912EBD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #912ebd;
/* rgb */ color: rgb(145, 46, 189);
/* oklch */ color: oklch(51.6% 0.215 312.8);
Tailwind
colors: {
  custom: {
    50: '#b671d2',
    500: '#912ebd',
    950: '#000000',
  },
}
SCSS
$custom: #912ebd;
$custom-light: #b671d2;
$custom-dark: #000000;
JSON
{
  "hex": "#912ebd",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 281.538,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51614,
    "c": 0.21531,
    "h": 312.8
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#912EBD
secondary
#94CA7C
accent
#E44475
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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