#912ADE#912ADE

#912ADE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.8% C 0.249 H 304.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#912ADE
RGBrgb(145, 42, 222)
HSLhsl(274, 73%, 52%)
HSVhsv(274, 81%, 87%)
CMYKcmyk(34.7%, 81.1%, 0%, 12.9%)
CIE-LABlab(42.69, 70.30, -71.63)
CIE-LCHlch(42.69, 100.36, 314.47°)
OKLaboklab(53.82% 0.142 -0.2042)
OKLCHoklch(53.82% 0.249 304.8)
XYZxyz(25.6868, 12.9497, 70.2394)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912ADE #77DE2A
analogous
#372ADE #912ADE #DE2AD1
triadic
#912ADE #DE912A #2ADE91
tetradic
#912ADE #DE372A #77DE2A #2AD1DE
square
#912ADE #DE372A #77DE2A #2AD1DE
split-complementary
#912ADE #D1DE2A #2ADE37
monochromatic
#4E137B #701BB0 #912ADE #AC5FE6 #C894EE

Accessibility & contrast

On white

5.85
#912ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#912ADE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912ADE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912ADE#FFFFFF#000000##FFFFFF
##912ADE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E3
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#825C86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #912ade;
/* rgb */ color: rgb(145, 42, 222);
/* oklch */ color: oklch(53.8% 0.249 304.8);
Tailwind
colors: {
  custom: {
    50: '#b871e9',
    500: '#912ade',
    950: '#000000',
  },
}
SCSS
$custom: #912ade;
$custom-light: #b871e9;
$custom-dark: #000000;
JSON
{
  "hex": "#912ade",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 222
  },
  "hsl": {
    "h": 274.333,
    "s": 73.171,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.24873,
    "h": 304.8
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#912ADE
secondary
#ACD98A
accent
#F03887
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #912ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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