#912ED0#912ED0

#912ED0 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 53.0% C 0.233 H 307.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#912ED0
RGBrgb(145, 46, 208)
HSLhsl(277, 64%, 50%)
HSVhsv(277, 78%, 82%)
CMYKcmyk(30.3%, 77.9%, 0%, 18.4%)
CIE-LABlab(42.04, 66.00, -64.63)
CIE-LCHlch(42.04, 92.38, 315.60°)
OKLaboklab(53.03% 0.1426 -0.1837)
OKLCHoklch(53.03% 0.233 307.8)
XYZxyz(24.0368, 12.5282, 60.8142)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912ED0 #6DD02E
analogous
#402ED0 #912ED0 #D02EBE
triadic
#912ED0 #D0912E #2ED091
tetradic
#912ED0 #D0402E #6DD02E #2EBED0
square
#912ED0 #D0402E #6DD02E #2EBED0
split-complementary
#912ED0 #BED02E #2ED040
monochromatic
#4B186C #6E239E #912ED0 #AB5FDC #C692E7

Accessibility & contrast

On white

5.99
#912ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#912ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912ED0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912ED0#FFFFFF#000000##FFFFFF
##912ED01.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#87577F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #912ed0;
/* rgb */ color: rgb(145, 46, 208);
/* oklch */ color: oklch(53.0% 0.233 307.8);
Tailwind
colors: {
  custom: {
    50: '#b772df',
    500: '#912ed0',
    950: '#000000',
  },
}
SCSS
$custom: #912ed0;
$custom-light: #b772df;
$custom-dark: #000000;
JSON
{
  "hex": "#912ed0",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 208
  },
  "hsl": {
    "h": 276.667,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.23259,
    "h": 307.8
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#912ED0
secondary
#A5D288
accent
#E74181
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #912ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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