#7124AC#7124AC

#7124AC is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.201 H 305.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7124AC
RGBrgb(113, 36, 172)
HSLhsl(274, 65%, 41%)
HSVhsv(274, 79%, 67%)
CMYKcmyk(34.3%, 79.1%, 0%, 32.5%)
CIE-LABlab(33.46, 56.33, -57.65)
CIE-LCHlch(33.46, 80.60, 314.34°)
OKLaboklab(45.2% 0.1153 -0.1642)
OKLCHoklch(45.2% 0.201 305.1)
XYZxyz(14.8856, 7.7511, 39.7336)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124AC #5FAC24
analogous
#2D24AC #7124AC #AC24A3
triadic
#7124AC #AC7124 #24AC71
tetradic
#7124AC #AC2D24 #5FAC24 #24A3AC
square
#7124AC #AC2D24 #5FAC24 #24A3AC
split-complementary
#7124AC #A3AC24 #24AC2D
monochromatic
#2F0F47 #501979 #7124AC #9138D5 #AD6AE0

Accessibility & contrast

On white

8.23
#7124AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7124AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7124AC#FFFFFF#000000##FFFFFF
##7124AC1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#664868
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7124ac;
/* rgb */ color: rgb(113, 36, 172);
/* oklch */ color: oklch(45.2% 0.201 305.1);
Tailwind
colors: {
  custom: {
    50: '#a068c6',
    500: '#7124ac',
    950: '#000000',
  },
}
SCSS
$custom: #7124ac;
$custom-light: #a068c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7124ac",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 273.971,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.20066,
    "h": 305.1
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#7124AC
secondary
#90C666
accent
#E83F89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7124AC

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

Preview Lab → · Contrast checker → · Palette generator →

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