#912FB7#912FB7

#912FB7 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.209 H 314.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#912FB7
RGBrgb(145, 47, 183)
HSLhsl(283, 59%, 45%)
HSVhsv(283, 74%, 72%)
CMYKcmyk(20.8%, 74.3%, 0%, 28.2%)
CIE-LABlab(40.37, 60.46, -52.77)
CIE-LCHlch(40.37, 80.25, 318.89°)
OKLaboklab(51.28% 0.1464 -0.1489)
OKLCHoklch(51.28% 0.209 314.5)
XYZxyz(21.2394, 11.4724, 45.8861)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FB7 #55B72F
analogous
#4D2FB7 #912FB7 #B72F99
triadic
#912FB7 #B7912F #2FB791
tetradic
#912FB7 #B74D2F #55B72F #2F99B7
square
#912FB7 #B74D2F #55B72F #2F99B7
split-complementary
#912FB7 #99B72F #2FB74D
monochromatic
#441656 #6A2286 #912FB7 #AE51D2 #C582DF

Accessibility & contrast

On white

6.37
#912FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#912FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FB7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FB7#FFFFFF#000000##FFFFFF
##912FB71.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2762B4
Tritanopia (blue-blind)
#8E4D71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912fb7;
/* rgb */ color: rgb(145, 47, 183);
/* oklch */ color: oklch(51.3% 0.209 314.5);
Tailwind
colors: {
  custom: {
    50: '#b572cd',
    500: '#912fb7',
    950: '#000000',
  },
}
SCSS
$custom: #912fb7;
$custom-light: #b572cd;
$custom-dark: #000000;
JSON
{
  "hex": "#912fb7",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 283.235,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.20881,
    "h": 314.5
  },
  "luminance": 0.11472
}

Semantic roles & 50–950 ramp

primary
#912FB7
secondary
#90C87A
accent
#E24571
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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