#912BC8#912BC8

#912BC8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.2% C 0.228 H 310.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#912BC8
RGBrgb(145, 43, 200)
HSLhsl(279, 65%, 48%)
HSVhsv(279, 79%, 78%)
CMYKcmyk(27.5%, 78.5%, 0%, 21.6%)
CIE-LABlab(41.09, 65.36, -61.55)
CIE-LCHlch(41.09, 89.78, 316.72°)
OKLaboklab(52.17% 0.1468 -0.1747)
OKLCHoklch(52.17% 0.228 310)
XYZxyz(22.9642, 11.9181, 55.7231)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912BC8 #62C82B
analogous
#432BC8 #912BC8 #C82BB0
triadic
#912BC8 #C8912B #2BC891
tetradic
#912BC8 #C8432B #62C82B #2BB0C8
square
#912BC8 #C8432B #62C82B #2BB0C8
split-complementary
#912BC8 #B0C82B #2BC843
monochromatic
#481563 #6C2096 #912BC8 #AC56DB #C588E5

Accessibility & contrast

On white

6.21
#912BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#912BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912BC8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912BC8#FFFFFF#000000##FFFFFF
##912BC81.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#89537A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #912bc8;
/* rgb */ color: rgb(145, 43, 200);
/* oklch */ color: oklch(52.2% 0.228 310.0);
Tailwind
colors: {
  custom: {
    50: '#b771da',
    500: '#912bc8',
    950: '#000000',
  },
}
SCSS
$custom: #912bc8;
$custom-light: #b771da;
$custom-dark: #000000;
JSON
{
  "hex": "#912bc8",
  "rgb": {
    "r": 145,
    "g": 43,
    "b": 200
  },
  "hsl": {
    "h": 278.981,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.22817,
    "h": 310
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#912BC8
secondary
#9CCF80
accent
#E8407B
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #912BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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