#912FC0#912FC0

#912FC0 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.217 H 311.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#912FC0
RGBrgb(145, 47, 192)
HSLhsl(281, 61%, 47%)
HSVhsv(281, 76%, 75%)
CMYKcmyk(24.5%, 75.5%, 0%, 24.7%)
CIE-LABlab(40.99, 62.30, -57.04)
CIE-LCHlch(40.99, 84.47, 317.52°)
OKLaboklab(51.92% 0.145 -0.1614)
OKLCHoklch(51.92% 0.217 311.9)
XYZxyz(22.2062, 11.8592, 50.9782)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FC0 #5EC02F
analogous
#492FC0 #912FC0 #C02FA6
triadic
#912FC0 #C0912F #2FC091
tetradic
#912FC0 #C0492F #5EC02F #2FA6C0
square
#912FC0 #C0492F #5EC02F #2FA6C0
split-complementary
#912FC0 #A6C02F #2FC049
monochromatic
#47175E #6C238F #912FC0 #AC56D6 #C588E2

Accessibility & contrast

On white

6.23
#912FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#912FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FC0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FC0#FFFFFF#000000##FFFFFF
##912FC01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#1762BD
Tritanopia (blue-blind)
#8B5176
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #912fc0;
/* rgb */ color: rgb(145, 47, 192);
/* oklch */ color: oklch(51.9% 0.217 311.9);
Tailwind
colors: {
  custom: {
    50: '#b672d4',
    500: '#912fc0',
    950: '#000000',
  },
}
SCSS
$custom: #912fc0;
$custom-light: #b672d4;
$custom-dark: #000000;
JSON
{
  "hex": "#912fc0",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 280.552,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51921,
    "c": 0.217,
    "h": 311.9
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#912FC0
secondary
#98CB7F
accent
#E44478
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #912FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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