#912DBC#912DBC

#912DBC is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.215 H 313.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#912DBC
RGBrgb(145, 45, 188)
HSLhsl(282, 61%, 46%)
HSVhsv(282, 76%, 74%)
CMYKcmyk(22.9%, 76.1%, 0%, 26.3%)
CIE-LABlab(40.46, 62.21, -55.56)
CIE-LCHlch(40.46, 83.41, 318.23°)
OKLaboklab(51.45% 0.1475 -0.1571)
OKLCHoklch(51.45% 0.215 313.2)
XYZxyz(21.6909, 11.5280, 48.6497)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DBC #58BC2D
analogous
#492DBC #912DBC #BC2D9F
triadic
#912DBC #BC912D #2DBC91
tetradic
#912DBC #BC492D #58BC2D #2D9FBC
square
#912DBC #BC492D #58BC2D #2D9FBC
split-complementary
#912DBC #9FBC2D #2DBC49
monochromatic
#451559 #6B218B #912DBC #AD51D5 #C582E1

Accessibility & contrast

On white

6.35
#912DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#912DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DBC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DBC#FFFFFF#000000##FFFFFF
##912DBC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#1D61B9
Tritanopia (blue-blind)
#8C4E73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912dbc;
/* rgb */ color: rgb(145, 45, 188);
/* oklch */ color: oklch(51.5% 0.215 313.2);
Tailwind
colors: {
  custom: {
    50: '#b671d1',
    500: '#912dbc',
    950: '#000000',
  },
}
SCSS
$custom: #912dbc;
$custom-light: #b671d1;
$custom-dark: #000000;
JSON
{
  "hex": "#912dbc",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 281.958,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.21545,
    "h": 313.2
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

primary
#912DBC
secondary
#93CA7B
accent
#E44374
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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