#7124AA#7124AA

#7124AA is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.199 H 305.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7124AA
RGBrgb(113, 36, 170)
HSLhsl(274, 65%, 40%)
HSVhsv(274, 79%, 67%)
CMYKcmyk(33.5%, 78.8%, 0%, 33.3%)
CIE-LABlab(33.30, 55.87, -56.71)
CIE-LCHlch(33.30, 79.61, 314.57°)
OKLaboklab(45.03% 0.1158 -0.1615)
OKLCHoklch(45.03% 0.199 305.6)
XYZxyz(14.6950, 7.6749, 38.7297)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124AA #5DAA24
analogous
#2E24AA #7124AA #AA24A0
triadic
#7124AA #AA7124 #24AA71
tetradic
#7124AA #AA2E24 #5DAA24 #24A0AA
square
#7124AA #AA2E24 #5DAA24 #24A0AA
split-complementary
#7124AA #A0AA24 #24AA2E
monochromatic
#2E0F45 #4F1977 #7124AA #9137D5 #AD69DF

Accessibility & contrast

On white

8.28
#7124AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7124AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7124AA#FFFFFF#000000##FFFFFF
##7124AA1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#664767
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7124aa;
/* rgb */ color: rgb(113, 36, 170);
/* oklch */ color: oklch(45.0% 0.199 305.6);
Tailwind
colors: {
  custom: {
    50: '#9f68c4',
    500: '#7124aa',
    950: '#000000',
  },
}
SCSS
$custom: #7124aa;
$custom-light: #9f68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7124aa",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 274.478,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.19872,
    "h": 305.6
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#7124AA
secondary
#8EC565
accent
#E84087
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7124AA

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

Preview Lab → · Contrast checker → · Palette generator →

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