#9127C7#9127C7

#9127C7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.8% C 0.231 H 310.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9127C7
RGBrgb(145, 39, 199)
HSLhsl(280, 67%, 47%)
HSVhsv(280, 80%, 78%)
CMYKcmyk(27.1%, 80.4%, 0%, 22%)
CIE-LABlab(40.56, 66.45, -61.82)
CIE-LCHlch(40.56, 90.75, 317.07°)
OKLaboklab(51.78% 0.1501 -0.1754)
OKLCHoklch(51.78% 0.231 310.6)
XYZxyz(22.7094, 11.5948, 55.0635)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127C7 #5DC727
analogous
#4127C7 #9127C7 #C727AD
triadic
#9127C7 #C79127 #27C791
tetradic
#9127C7 #C74127 #5DC727 #27ADC7
square
#9127C7 #C74127 #5DC727 #27ADC7
split-complementary
#9127C7 #ADC727 #27C741
monochromatic
#461361 #6C1D94 #9127C7 #AD4FDC #C582E6

Accessibility & contrast

On white

6.33
#9127C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9127C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9127C7
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9127C7#FFFFFF#000000##FFFFFF
##9127C71.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#895078
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9127c7;
/* rgb */ color: rgb(145, 39, 199);
/* oklch */ color: oklch(51.8% 0.231 310.6);
Tailwind
colors: {
  custom: {
    50: '#b76fd9',
    500: '#9127c7',
    950: '#000000',
  },
}
SCSS
$custom: #9127c7;
$custom-light: #b76fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9127c7",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 199
  },
  "hsl": {
    "h": 279.75,
    "s": 67.227,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51782,
    "c": 0.23085,
    "h": 310.6
  },
  "luminance": 0.11594
}

Semantic roles & 50–950 ramp

primary
#9127C7
secondary
#97CF7B
accent
#EA3E78
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #9127C7

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

Preview Lab → · Contrast checker → · Palette generator →

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