#9127B2#9127B2

#9127B2 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.213 H 316.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9127B2
RGBrgb(145, 39, 178)
HSLhsl(286, 64%, 43%)
HSVhsv(286, 78%, 70%)
CMYKcmyk(18.5%, 78.1%, 0%, 30.2%)
CIE-LABlab(39.05, 62.28, -51.94)
CIE-LCHlch(39.05, 81.09, 320.17°)
OKLaboklab(50.24% 0.1542 -0.1464)
OKLCHoklch(50.24% 0.213 316.5)
XYZxyz(20.4372, 10.6860, 43.0969)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127B2 #48B227
analogous
#4B27B2 #9127B2 #B2278E
triadic
#9127B2 #B29127 #27B291
tetradic
#9127B2 #B24B27 #48B227 #278EB2
square
#9127B2 #B24B27 #48B227 #278EB2
split-complementary
#9127B2 #8EB227 #27B24B
monochromatic
#3F114E #681C80 #9127B2 #B241D5 #C673E0

Accessibility & contrast

On white

6.69
#9127B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9127B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9127B2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9127B2#FFFFFF#000000##FFFFFF
##9127B21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#275FAF
Tritanopia (blue-blind)
#8F476C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9127b2;
/* rgb */ color: rgb(145, 39, 178);
/* oklch */ color: oklch(50.2% 0.213 316.5);
Tailwind
colors: {
  custom: {
    50: '#b66eca',
    500: '#9127b2',
    950: '#000000',
  },
}
SCSS
$custom: #9127b2;
$custom-light: #b66eca;
$custom-dark: #000000;
JSON
{
  "hex": "#9127b2",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 285.755,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.21264,
    "h": 316.5
  },
  "luminance": 0.10685
}

Semantic roles & 50–950 ramp

primary
#9127B2
secondary
#83C86D
accent
#E74168
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9127B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9127B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva