#912FC2#912FC2

#912FC2 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.219 H 311.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#912FC2
RGBrgb(145, 47, 194)
HSLhsl(280, 61%, 47%)
HSVhsv(280, 76%, 76%)
CMYKcmyk(25.3%, 75.8%, 0%, 23.9%)
CIE-LABlab(41.13, 62.71, -57.98)
CIE-LCHlch(41.13, 85.41, 317.25°)
OKLaboklab(52.07% 0.1447 -0.1642)
OKLCHoklch(52.07% 0.219 311.4)
XYZxyz(22.4293, 11.9484, 52.1532)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FC2 #60C22F
analogous
#482FC2 #912FC2 #C22FAA
triadic
#912FC2 #C2912F #2FC291
tetradic
#912FC2 #C2482F #60C22F #2FAAC2
square
#912FC2 #C2482F #60C22F #2FAAC2
split-complementary
#912FC2 #AAC22F #2FC248
monochromatic
#47175F #6C2391 #912FC2 #AC58D6 #C589E2

Accessibility & contrast

On white

6.20
#912FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#912FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FC2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FC2#FFFFFF#000000##FFFFFF
##912FC21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#1163BF
Tritanopia (blue-blind)
#8B5277
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #912fc2;
/* rgb */ color: rgb(145, 47, 194);
/* oklch */ color: oklch(52.1% 0.219 311.4);
Tailwind
colors: {
  custom: {
    50: '#b672d5',
    500: '#912fc2',
    950: '#000000',
  },
}
SCSS
$custom: #912fc2;
$custom-light: #b672d5;
$custom-dark: #000000;
JSON
{
  "hex": "#912fc2",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 280,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.21882,
    "h": 311.4
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#912FC2
secondary
#9ACC81
accent
#E44479
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #912FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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