#912FC4#912FC4

#912FC4 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.2% C 0.221 H 310.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#912FC4
RGBrgb(145, 47, 196)
HSLhsl(279, 61%, 48%)
HSVhsv(279, 76%, 77%)
CMYKcmyk(26%, 76%, 0%, 23.1%)
CIE-LABlab(41.28, 63.13, -58.91)
CIE-LCHlch(41.28, 86.35, 316.98°)
OKLaboklab(52.21% 0.1443 -0.1669)
OKLCHoklch(52.21% 0.221 310.8)
XYZxyz(22.6555, 12.0388, 53.3441)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FC4 #62C42F
analogous
#462FC4 #912FC4 #C42FAD
triadic
#912FC4 #C4912F #2FC491
tetradic
#912FC4 #C4462F #62C42F #2FADC4
square
#912FC4 #C4462F #62C42F #2FADC4
split-complementary
#912FC4 #ADC42F #2FC446
monochromatic
#481761 #6C2393 #912FC4 #AC59D7 #C58AE3

Accessibility & contrast

On white

6.16
#912FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#912FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FC4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FC4#FFFFFF#000000##FFFFFF
##912FC41.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0963C1
Tritanopia (blue-blind)
#8A5378
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #912fc4;
/* rgb */ color: rgb(145, 47, 196);
/* oklch */ color: oklch(52.2% 0.221 310.8);
Tailwind
colors: {
  custom: {
    50: '#b672d7',
    500: '#912fc4',
    950: '#000000',
  },
}
SCSS
$custom: #912fc4;
$custom-light: #b672d7;
$custom-dark: #000000;
JSON
{
  "hex": "#912fc4",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 279.463,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52213,
    "c": 0.22065,
    "h": 310.8
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #912FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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