#912EC9#912EC9

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

Color values

HEX#912EC9
RGBrgb(145, 46, 201)
HSLhsl(278, 63%, 48%)
HSVhsv(278, 77%, 79%)
CMYKcmyk(27.9%, 77.1%, 0%, 21.2%)
CIE-LABlab(41.52, 64.53, -61.43)
CIE-LCHlch(41.52, 89.09, 316.41°)
OKLaboklab(52.5% 0.1442 -0.1743)
OKLCHoklch(52.5% 0.226 309.6)
XYZxyz(23.1945, 12.1913, 56.3783)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EC9 #66C92E
analogous
#442EC9 #912EC9 #C92EB3
triadic
#912EC9 #C9912E #2EC991
tetradic
#912EC9 #C9442E #66C92E #2EB3C9
square
#912EC9 #C9442E #66C92E #2EB3C9
split-complementary
#912EC9 #B3C92E #2EC944
monochromatic
#491765 #6D2397 #912EC9 #AC5BD9 #C58DE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##912EC9#FFFFFF#000000##FFFFFF
##912EC91.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)
#005ECD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#89547B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #912ec9;
/* rgb */ color: rgb(145, 46, 201);
/* oklch */ color: oklch(52.5% 0.226 309.6);
Tailwind
colors: {
  custom: {
    50: '#b772da',
    500: '#912ec9',
    950: '#000000',
  },
}
SCSS
$custom: #912ec9;
$custom-light: #b772da;
$custom-dark: #000000;
JSON
{
  "hex": "#912ec9",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 278.323,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52497,
    "c": 0.22621,
    "h": 309.6
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#912EC9
secondary
#9FCF84
accent
#E6427D
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #912EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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