#912DAF#912DAF

#912DAF is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.204 H 317.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#912DAF
RGBrgb(145, 45, 175)
HSLhsl(286, 59%, 43%)
HSVhsv(286, 74%, 69%)
CMYKcmyk(17.1%, 74.3%, 0%, 31.4%)
CIE-LABlab(39.57, 59.61, -49.32)
CIE-LCHlch(39.57, 77.37, 320.40°)
OKLaboklab(50.54% 0.1493 -0.1387)
OKLCHoklch(50.54% 0.204 317.1)
XYZxyz(20.3522, 10.9925, 41.5988)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DAF #4BAF2D
analogous
#502DAF #912DAF #AF2D8C
triadic
#912DAF #AF912D #2DAF91
tetradic
#912DAF #AF502D #4BAF2D #2D8CAF
square
#912DAF #AF502D #4BAF2D #2D8CAF
split-complementary
#912DAF #8CAF2D #2DAF50
monochromatic
#40144E #69207E #912DAF #B149D0 #C67ADD

Accessibility & contrast

On white

6.57
#912DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#912DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DAF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DAF#FFFFFF#000000##FFFFFF
##912DAF1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#90486C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912daf;
/* rgb */ color: rgb(145, 45, 175);
/* oklch */ color: oklch(50.5% 0.204 317.1);
Tailwind
colors: {
  custom: {
    50: '#b570c8',
    500: '#912daf',
    950: '#000000',
  },
}
SCSS
$custom: #912daf;
$custom-light: #b570c8;
$custom-dark: #000000;
JSON
{
  "hex": "#912daf",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 286.154,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50543,
    "c": 0.20382,
    "h": 317.1
  },
  "luminance": 0.10992
}

Semantic roles & 50–950 ramp

primary
#912DAF
secondary
#86C573
accent
#E2466A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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