#912FC5#912FC5

#912FC5 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.3% C 0.222 H 310.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#912FC5
RGBrgb(145, 47, 197)
HSLhsl(279, 61%, 48%)
HSVhsv(279, 76%, 77%)
CMYKcmyk(26.4%, 76.1%, 0%, 22.7%)
CIE-LABlab(41.35, 63.34, -59.38)
CIE-LCHlch(41.35, 86.82, 316.85°)
OKLaboklab(52.29% 0.1441 -0.1683)
OKLCHoklch(52.29% 0.222 310.6)
XYZxyz(22.7697, 12.0845, 53.9456)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FC5 #63C52F
analogous
#462FC5 #912FC5 #C52FAE
triadic
#912FC5 #C5912F #2FC591
tetradic
#912FC5 #C5462F #63C52F #2FAEC5
square
#912FC5 #C5462F #63C52F #2FAEC5
split-complementary
#912FC5 #AEC52F #2FC546
monochromatic
#481762 #6D2394 #912FC5 #AC5AD8 #C58BE3

Accessibility & contrast

On white

6.15
#912FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912FC5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FC5#FFFFFF#000000##FFFFFF
##912FC51.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0463C2
Tritanopia (blue-blind)
#8A5379
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #912fc5;
/* rgb */ color: rgb(145, 47, 197);
/* oklch */ color: oklch(52.3% 0.222 310.6);
Tailwind
colors: {
  custom: {
    50: '#b672d7',
    500: '#912fc5',
    950: '#000000',
  },
}
SCSS
$custom: #912fc5;
$custom-light: #b672d7;
$custom-dark: #000000;
JSON
{
  "hex": "#912fc5",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 279.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.22157,
    "h": 310.6
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#912FC5
secondary
#9CCD82
accent
#E5437B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #912FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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