#912FC7#912FC7

#912FC7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.4% C 0.223 H 310.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#912FC7
RGBrgb(145, 47, 199)
HSLhsl(279, 62%, 48%)
HSVhsv(279, 76%, 78%)
CMYKcmyk(27.1%, 76.4%, 0%, 22%)
CIE-LABlab(41.50, 63.75, -60.31)
CIE-LCHlch(41.50, 87.76, 316.59°)
OKLaboklab(52.43% 0.1437 -0.171)
OKLCHoklch(52.43% 0.223 310)
XYZxyz(23.0003, 12.1768, 55.1605)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FC7 #65C72F
analogous
#452FC7 #912FC7 #C72FB1
triadic
#912FC7 #C7912F #2FC791
tetradic
#912FC7 #C7452F #65C72F #2FB1C7
square
#912FC7 #C7452F #65C72F #2FB1C7
split-complementary
#912FC7 #B1C72F #2FC745
monochromatic
#491864 #6D2395 #912FC7 #AC5BD8 #C58CE4

Accessibility & contrast

On white

6.11
#912FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#912FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FC7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FC7#FFFFFF#000000##FFFFFF
##912FC71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#89547A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #912fc7;
/* rgb */ color: rgb(145, 47, 199);
/* oklch */ color: oklch(52.4% 0.223 310.0);
Tailwind
colors: {
  custom: {
    50: '#b672d9',
    500: '#912fc7',
    950: '#000000',
  },
}
SCSS
$custom: #912fc7;
$custom-light: #b672d9;
$custom-dark: #000000;
JSON
{
  "hex": "#912fc7",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 278.684,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.22339,
    "h": 310
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#912FC7
secondary
#9ECE84
accent
#E5437C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #912FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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