#7127AD#7127AD

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

Color values

HEX#7127AD
RGBrgb(113, 39, 173)
HSLhsl(273, 63%, 42%)
HSVhsv(273, 77%, 68%)
CMYKcmyk(34.7%, 77.5%, 0%, 32.2%)
CIE-LABlab(33.94, 55.41, -57.46)
CIE-LCHlch(33.94, 79.82, 313.96°)
OKLaboklab(45.56% 0.1125 -0.1637)
OKLCHoklch(45.56% 0.199 304.5)
XYZxyz(15.0767, 7.9789, 40.2729)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127AD #63AD27
analogous
#2E27AD #7127AD #AD27A6
triadic
#7127AD #AD7127 #27AD71
tetradic
#7127AD #AD2E27 #63AD27 #27A6AD
square
#7127AD #AD2E27 #63AD27 #27A6AD
split-complementary
#7127AD #A6AD27 #27AD2E
monochromatic
#301049 #501C7B #7127AD #903ED3 #AD70DF

Accessibility & contrast

On white

8.09
#7127AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7127AD#FFFFFF#000000##FFFFFF
##7127AD1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#654A69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7127ad;
/* rgb */ color: rgb(113, 39, 173);
/* oklch */ color: oklch(45.6% 0.199 304.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ac6',
    500: '#7127ad',
    950: '#000000',
  },
}
SCSS
$custom: #7127ad;
$custom-light: #9f6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7127ad",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 273.134,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45559,
    "c": 0.19866,
    "h": 304.5
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#7127AD
secondary
#93C66A
accent
#E6428B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7127AD

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

Preview Lab → · Contrast checker → · Palette generator →

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