#7127A2#7127A2

#7127A2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.188 H 307.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7127A2
RGBrgb(113, 39, 162)
HSLhsl(276, 61%, 39%)
HSVhsv(276, 76%, 64%)
CMYKcmyk(30.2%, 75.9%, 0%, 36.5%)
CIE-LABlab(33.07, 52.89, -52.26)
CIE-LCHlch(33.07, 74.36, 315.34°)
OKLaboklab(44.68% 0.115 -0.1484)
OKLCHoklch(44.68% 0.188 307.8)
XYZxyz(14.0558, 7.5706, 34.8962)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127A2 #58A227
analogous
#3427A2 #7127A2 #A22795
triadic
#7127A2 #A27127 #27A271
tetradic
#7127A2 #A23427 #58A227 #2795A2
square
#7127A2 #A23427 #58A227 #2795A2
split-complementary
#7127A2 #95A227 #27A234
monochromatic
#2C0F3F #4F1B71 #7127A2 #9337CF #AD69DB

Accessibility & contrast

On white

8.35
#7127A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7127A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7127A2#FFFFFF#000000##FFFFFF
##7127A21.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#694563
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7127a2;
/* rgb */ color: rgb(113, 39, 162);
/* oklch */ color: oklch(44.7% 0.188 307.8);
Tailwind
colors: {
  custom: {
    50: '#9f69be',
    500: '#7127a2',
    950: '#000000',
  },
}
SCSS
$custom: #7127a2;
$custom-light: #9f69be;
$custom-dark: #000000;
JSON
{
  "hex": "#7127a2",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 276.098,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.18775,
    "h": 307.8
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#7127A2
secondary
#89C164
accent
#E44384
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7127A2

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

Preview Lab → · Contrast checker → · Palette generator →

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