#912EEC#912EEC

#912EEC is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 55.3% C 0.258 H 301.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#912EEC
RGBrgb(145, 46, 236)
HSLhsl(271, 83%, 55%)
HSVhsv(271, 81%, 93%)
CMYKcmyk(38.6%, 80.5%, 0%, 7.5%)
CIE-LABlab(44.28, 72.05, -76.99)
CIE-LCHlch(44.28, 105.44, 313.10°)
OKLaboklab(55.28% 0.1352 -0.22)
OKLCHoklch(55.28% 0.258 301.6)
XYZxyz(27.7907, 14.0297, 80.5845)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EEC #89EC2E
analogous
#322EEC #912EEC #EC2EE8
triadic
#912EEC #EC912E #2EEC91
tetradic
#912EEC #EC322E #89EC2E #2EE8EC
square
#912EEC #EC322E #89EC2E #2EE8EC
split-complementary
#912EEC #E8EC2E #2EEC32
monochromatic
#530D92 #7212CA #912EEC #AF66F1 #CC9EF6

Accessibility & contrast

On white

5.52
#912EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#912EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EEC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EEC#FFFFFF#000000##FFFFFF
##912EEC1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F1
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#7D648F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #912eec;
/* rgb */ color: rgb(145, 46, 236);
/* oklch */ color: oklch(55.3% 0.258 301.6);
Tailwind
colors: {
  custom: {
    50: '#b974f3',
    500: '#912eec',
    950: '#000000',
  },
}
SCSS
$custom: #912eec;
$custom-light: #b974f3;
$custom-dark: #000000;
JSON
{
  "hex": "#912eec",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 236
  },
  "hsl": {
    "h": 271.263,
    "s": 83.333,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55275,
    "c": 0.25822,
    "h": 301.6
  },
  "luminance": 0.1403
}

Semantic roles & 50–950 ramp

primary
#912EEC
secondary
#B9E393
accent
#FA2E90
background
#FCF7FF
surface
#F8EDFE
border
#D1C8D6
text
#130917
muted
#827B85

Preview Lab

Preview with #912EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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