#7127AA#7127AA

#7127AA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.196 H 305.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7127AA
RGBrgb(113, 39, 170)
HSLhsl(274, 63%, 41%)
HSVhsv(274, 77%, 67%)
CMYKcmyk(33.5%, 77.1%, 0%, 33.3%)
CIE-LABlab(33.70, 54.72, -56.06)
CIE-LCHlch(33.70, 78.34, 314.31°)
OKLaboklab(45.32% 0.1132 -0.1596)
OKLCHoklch(45.32% 0.196 305.4)
XYZxyz(14.7896, 7.8641, 38.7612)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127AA #60AA27
analogous
#2F27AA #7127AA #AA27A1
triadic
#7127AA #AA7127 #27AA71
tetradic
#7127AA #AA2F27 #60AA27 #27A1AA
square
#7127AA #AA2F27 #60AA27 #27A1AA
split-complementary
#7127AA #A1AA27 #27AA2F
monochromatic
#2F1046 #501C78 #7127AA #913CD2 #AD6EDE

Accessibility & contrast

On white

8.16
#7127AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7127AA#FFFFFF#000000##FFFFFF
##7127AA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#664867
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7127aa;
/* rgb */ color: rgb(113, 39, 170);
/* oklch */ color: oklch(45.3% 0.196 305.4);
Tailwind
colors: {
  custom: {
    50: '#9f69c4',
    500: '#7127aa',
    950: '#000000',
  },
}
SCSS
$custom: #7127aa;
$custom-light: #9f69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7127aa",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 273.893,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45315,
    "c": 0.19569,
    "h": 305.4
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7127AA

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

Preview Lab → · Contrast checker → · Palette generator →

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