#7127A9#7127A9

#7127A9 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.195 H 305.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7127A9
RGBrgb(113, 39, 169)
HSLhsl(274, 63%, 41%)
HSVhsv(274, 77%, 66%)
CMYKcmyk(33.1%, 76.9%, 0%, 33.7%)
CIE-LABlab(33.62, 54.49, -55.59)
CIE-LCHlch(33.62, 77.84, 314.43°)
OKLaboklab(45.24% 0.1135 -0.1582)
OKLCHoklch(45.24% 0.195 305.6)
XYZxyz(14.6954, 7.8264, 38.2649)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127A9 #5FA927
analogous
#3027A9 #7127A9 #A927A0
triadic
#7127A9 #A97127 #27A971
tetradic
#7127A9 #A93027 #5FA927 #27A0A9
square
#7127A9 #A93027 #5FA927 #27A0A9
split-complementary
#7127A9 #A0A927 #27A930
monochromatic
#2F1046 #501C77 #7127A9 #913BD2 #AD6DDD

Accessibility & contrast

On white

8.19
#7127A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7127A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127A9
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127A9#FFFFFF#000000##FFFFFF
##7127A91.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#674867
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7127a9;
/* rgb */ color: rgb(113, 39, 169);
/* oklch */ color: oklch(45.2% 0.195 305.6);
Tailwind
colors: {
  custom: {
    50: '#9f69c3',
    500: '#7127a9',
    950: '#000000',
  },
}
SCSS
$custom: #7127a9;
$custom-light: #9f69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7127a9",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 274.154,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.19469,
    "h": 305.6
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#7127A9
secondary
#90C468
accent
#E64289
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7127A9

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

Preview Lab → · Contrast checker → · Palette generator →

#7127A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva