#7124A2#7124A2

#7124A2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.191 H 308.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7124A2
RGBrgb(113, 36, 162)
HSLhsl(277, 64%, 39%)
HSVhsv(277, 78%, 64%)
CMYKcmyk(30.2%, 77.8%, 0%, 36.5%)
CIE-LABlab(32.66, 54.07, -52.93)
CIE-LCHlch(32.66, 75.67, 315.61°)
OKLaboklab(44.39% 0.1177 -0.1504)
OKLCHoklch(44.39% 0.191 308)
XYZxyz(13.9611, 7.3813, 34.8647)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124A2 #55A224
analogous
#3224A2 #7124A2 #A22494
triadic
#7124A2 #A27124 #24A271
tetradic
#7124A2 #A23224 #55A224 #2494A2
square
#7124A2 #A23224 #55A224 #2494A2
split-complementary
#7124A2 #94A224 #24A232
monochromatic
#2B0E3E #4E1970 #7124A2 #9332D1 #AE64DD

Accessibility & contrast

On white

8.48
#7124A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7124A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7124A2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7124A2#FFFFFF#000000##FFFFFF
##7124A21.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#694362
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7124a2;
/* rgb */ color: rgb(113, 36, 162);
/* oklch */ color: oklch(44.4% 0.191 308.0);
Tailwind
colors: {
  custom: {
    50: '#9f68be',
    500: '#7124a2',
    950: '#000000',
  },
}
SCSS
$custom: #7124a2;
$custom-light: #9f68be;
$custom-dark: #000000;
JSON
{
  "hex": "#7124a2",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 276.667,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.19096,
    "h": 308
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#7124A2
secondary
#86C260
accent
#E74182
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7124A2

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

Preview Lab → · Contrast checker → · Palette generator →

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