#7124AD#7124AD

#7124AD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.202 H 304.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7124AD
RGBrgb(113, 36, 173)
HSLhsl(274, 66%, 41%)
HSVhsv(274, 79%, 68%)
CMYKcmyk(34.7%, 79.2%, 0%, 32.2%)
CIE-LABlab(33.54, 56.55, -58.11)
CIE-LCHlch(33.54, 81.09, 314.22°)
OKLaboklab(45.28% 0.115 -0.1656)
OKLCHoklch(45.28% 0.202 304.8)
XYZxyz(14.9820, 7.7897, 40.2413)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124AD #60AD24
analogous
#2D24AD #7124AD #AD24A4
triadic
#7124AD #AD7124 #24AD71
tetradic
#7124AD #AD2D24 #60AD24 #24A4AD
square
#7124AD #AD2D24 #60AD24 #24A4AD
split-complementary
#7124AD #A4AD24 #24AD2D
monochromatic
#2F0F48 #50197A #7124AD #9139D6 #AD6BE0

Accessibility & contrast

On white

8.21
#7124AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7124AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7124AD#FFFFFF#000000##FFFFFF
##7124AD1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#654869
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7124ad;
/* rgb */ color: rgb(113, 36, 173);
/* oklch */ color: oklch(45.3% 0.202 304.8);
Tailwind
colors: {
  custom: {
    50: '#a068c6',
    500: '#7124ad',
    950: '#000000',
  },
}
SCSS
$custom: #7124ad;
$custom-light: #a068c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7124ad",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 273.723,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.20163,
    "h": 304.8
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7124AD

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

Preview Lab → · Contrast checker → · Palette generator →

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