#912FD4#912FD4

#912FD4 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.4% C 0.235 H 306.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#912FD4
RGBrgb(145, 47, 212)
HSLhsl(276, 66%, 51%)
HSVhsv(276, 78%, 83%)
CMYKcmyk(31.6%, 77.8%, 0%, 16.9%)
CIE-LABlab(42.47, 66.50, -66.24)
CIE-LCHlch(42.47, 93.87, 315.11°)
OKLaboklab(53.42% 0.1409 -0.1885)
OKLCHoklch(53.42% 0.235 306.8)
XYZxyz(24.5746, 12.8065, 63.4519)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FD4 #72D42F
analogous
#3E2FD4 #912FD4 #D42FC5
triadic
#912FD4 #D4912F #2FD491
tetradic
#912FD4 #D43E2F #72D42F #2FC5D4
square
#912FD4 #D43E2F #72D42F #2FC5D4
split-complementary
#912FD4 #C5D42F #2FD43E
monochromatic
#4D1771 #6F22A4 #912FD4 #AC62DE #C794E9

Accessibility & contrast

On white

5.90
#912FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#912FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FD4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FD4#FFFFFF#000000##FFFFFF
##912FD41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#855A81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #912fd4;
/* rgb */ color: rgb(145, 47, 212);
/* oklch */ color: oklch(53.4% 0.235 306.8);
Tailwind
colors: {
  custom: {
    50: '#b773e2',
    500: '#912fd4',
    950: '#000000',
  },
}
SCSS
$custom: #912fd4;
$custom-light: #b773e2;
$custom-dark: #000000;
JSON
{
  "hex": "#912fd4",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 212
  },
  "hsl": {
    "h": 275.636,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53424,
    "c": 0.23532,
    "h": 306.8
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#912FD4
secondary
#A9D48B
accent
#E93F84
background
#FBF7FE
surface
#F7EDFC
border
#D0C8D5
text
#120915
muted
#817B84

Preview Lab

Preview with #912FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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