#7124C5#7124C5

#7124C5 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.225 H 298.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7124C5
RGBrgb(113, 36, 197)
HSLhsl(269, 69%, 46%)
HSVhsv(269, 82%, 77%)
CMYKcmyk(42.6%, 81.7%, 0%, 22.7%)
CIE-LABlab(35.60, 62.11, -68.94)
CIE-LCHlch(35.60, 92.79, 312.02°)
OKLaboklab(47.35% 0.1079 -0.1974)
OKLCHoklch(47.35% 0.225 298.7)
XYZxyz(17.5164, 8.8034, 53.5889)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124C5 #78C524
analogous
#2427C5 #7124C5 #C224C5
triadic
#7124C5 #C57124 #24C571
tetradic
#7124C5 #C52427 #78C524 #24C5C2
square
#7124C5 #C52427 #78C524 #24C5C2
split-complementary
#7124C5 #C5C224 #27C524
monochromatic
#36115E #531B91 #7124C5 #9049DE #AF7CE7

Accessibility & contrast

On white

7.61
#7124C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7124C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7124C5#FFFFFF#000000##FFFFFF
##7124C51.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#5C5376
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7124c5;
/* rgb */ color: rgb(113, 36, 197);
/* oklch */ color: oklch(47.3% 0.225 298.7);
Tailwind
colors: {
  custom: {
    50: '#a26ad8',
    500: '#7124c5',
    950: '#000000',
  },
}
SCSS
$custom: #7124c5;
$custom-light: #a26ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#7124c5",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 197
  },
  "hsl": {
    "h": 268.696,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47348,
    "c": 0.22494,
    "h": 298.7
  },
  "luminance": 0.08804
}

Semantic roles & 50–950 ramp

primary
#7124C5
secondary
#A4CF76
accent
#EC3C98
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7124C5

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

Preview Lab → · Contrast checker → · Palette generator →

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