#7127A3#7127A3

#7127A3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.189 H 307.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7127A3
RGBrgb(113, 39, 163)
HSLhsl(276, 61%, 40%)
HSVhsv(276, 76%, 64%)
CMYKcmyk(30.7%, 76.1%, 0%, 36.1%)
CIE-LABlab(33.15, 53.12, -52.74)
CIE-LCHlch(33.15, 74.85, 315.20°)
OKLaboklab(44.76% 0.1148 -0.1498)
OKLCHoklch(44.76% 0.189 307.4)
XYZxyz(14.1450, 7.6063, 35.3662)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127A3 #59A327
analogous
#3327A3 #7127A3 #A32797
triadic
#7127A3 #A37127 #27A371
tetradic
#7127A3 #A33327 #59A327 #2797A3
square
#7127A3 #A33327 #59A327 #2797A3
split-complementary
#7127A3 #97A327 #27A333
monochromatic
#2D0F40 #4F1B72 #7127A3 #9238CF #AD69DB

Accessibility & contrast

On white

8.33
#7127A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7127A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7127A3#FFFFFF#000000##FFFFFF
##7127A31.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#694564
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7127a3;
/* rgb */ color: rgb(113, 39, 163);
/* oklch */ color: oklch(44.8% 0.189 307.4);
Tailwind
colors: {
  custom: {
    50: '#9f69bf',
    500: '#7127a3',
    950: '#000000',
  },
}
SCSS
$custom: #7127a3;
$custom-light: #9f69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7127a3",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 275.806,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44757,
    "c": 0.18874,
    "h": 307.4
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#7127A3
secondary
#8AC164
accent
#E44384
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7127A3

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

Preview Lab → · Contrast checker → · Palette generator →

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