#7127AC#7127AC

#7127AC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.5% C 0.198 H 304.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7127AC
RGBrgb(113, 39, 172)
HSLhsl(273, 63%, 41%)
HSVhsv(273, 77%, 67%)
CMYKcmyk(34.3%, 77.3%, 0%, 32.5%)
CIE-LABlab(33.86, 55.18, -57.00)
CIE-LCHlch(33.86, 79.33, 314.07°)
OKLaboklab(45.48% 0.1128 -0.1623)
OKLCHoklch(45.48% 0.198 304.8)
XYZxyz(14.9803, 7.9404, 39.7652)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127AC #62AC27
analogous
#2E27AC #7127AC #AC27A5
triadic
#7127AC #AC7127 #27AC71
tetradic
#7127AC #AC2E27 #62AC27 #27A5AC
square
#7127AC #AC2E27 #62AC27 #27A5AC
split-complementary
#7127AC #A5AC27 #27AC2E
monochromatic
#2F1048 #501C7A #7127AC #913DD3 #AD6FDE

Accessibility & contrast

On white

8.11
#7127AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7127AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7127AC#FFFFFF#000000##FFFFFF
##7127AC1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#664969
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7127ac;
/* rgb */ color: rgb(113, 39, 172);
/* oklch */ color: oklch(45.5% 0.198 304.8);
Tailwind
colors: {
  custom: {
    50: '#9f6ac6',
    500: '#7127ac',
    950: '#000000',
  },
}
SCSS
$custom: #7127ac;
$custom-light: #9f6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7127ac",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 273.383,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45478,
    "c": 0.19767,
    "h": 304.8
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#7127AC
secondary
#92C56A
accent
#E6428B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7127AC

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

Preview Lab → · Contrast checker → · Palette generator →

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