#7127AE#7127AE

#7127AE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.200 H 304.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7127AE
RGBrgb(113, 39, 174)
HSLhsl(273, 63%, 42%)
HSVhsv(273, 78%, 68%)
CMYKcmyk(35.1%, 77.6%, 0%, 31.8%)
CIE-LABlab(34.02, 55.64, -57.93)
CIE-LCHlch(34.02, 80.32, 313.84°)
OKLaboklab(45.64% 0.1123 -0.1651)
OKLCHoklch(45.64% 0.2 304.2)
XYZxyz(15.1738, 8.0178, 40.7844)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127AE #64AE27
analogous
#2E27AE #7127AE #AE27A8
triadic
#7127AE #AE7127 #27AE71
tetradic
#7127AE #AE2E27 #64AE27 #27A8AE
square
#7127AE #AE2E27 #64AE27 #27A8AE
split-complementary
#7127AE #A8AE27 #27AE2E
monochromatic
#30114A #511C7C #7127AE #903ED4 #AD70DF

Accessibility & contrast

On white

8.07
#7127AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7127AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7127AE#FFFFFF#000000##FFFFFF
##7127AE1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#654A6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7127ae;
/* rgb */ color: rgb(113, 39, 174);
/* oklch */ color: oklch(45.6% 0.200 304.2);
Tailwind
colors: {
  custom: {
    50: '#a06ac7',
    500: '#7127ae',
    950: '#000000',
  },
}
SCSS
$custom: #7127ae;
$custom-light: #a06ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7127ae",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 272.889,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.19965,
    "h": 304.2
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#7127AE
secondary
#94C66B
accent
#E6418C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7127AE

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

Preview Lab → · Contrast checker → · Palette generator →

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