#912BCC#912BCC

#912BCC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.5% C 0.232 H 309.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#912BCC
RGBrgb(145, 43, 204)
HSLhsl(278, 65%, 48%)
HSVhsv(278, 79%, 80%)
CMYKcmyk(28.9%, 78.9%, 0%, 20%)
CIE-LABlab(41.39, 66.19, -63.39)
CIE-LCHlch(41.39, 91.64, 316.24°)
OKLaboklab(52.48% 0.1459 -0.18)
OKLCHoklch(52.48% 0.232 309)
XYZxyz(23.4378, 12.1076, 58.2173)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912BCC #66CC2B
analogous
#402BCC #912BCC #CC2BB6
triadic
#912BCC #CC912B #2BCC91
tetradic
#912BCC #CC402B #66CC2B #2BB6CC
square
#912BCC #CC402B #66CC2B #2BB6CC
split-complementary
#912BCC #B6CC2B #2BCC40
monochromatic
#491667 #6D2099 #912BCC #AC58DC #C58BE7

Accessibility & contrast

On white

6.14
#912BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#912BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912BCC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912BCC#FFFFFF#000000##FFFFFF
##912BCC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#88547C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #912bcc;
/* rgb */ color: rgb(145, 43, 204);
/* oklch */ color: oklch(52.5% 0.232 309.0);
Tailwind
colors: {
  custom: {
    50: '#b771dd',
    500: '#912bcc',
    950: '#000000',
  },
}
SCSS
$custom: #912bcc;
$custom-light: #b771dd;
$custom-dark: #000000;
JSON
{
  "hex": "#912bcc",
  "rgb": {
    "r": 145,
    "g": 43,
    "b": 204
  },
  "hsl": {
    "h": 278.012,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.23174,
    "h": 309
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#912BCC
secondary
#9FD082
accent
#E8407D
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #912BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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