#7124A8#7124A8

#7124A8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.9% C 0.197 H 306.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7124A8
RGBrgb(113, 36, 168)
HSLhsl(275, 65%, 40%)
HSVhsv(275, 79%, 66%)
CMYKcmyk(32.7%, 78.6%, 0%, 34.1%)
CIE-LABlab(33.14, 55.42, -55.77)
CIE-LCHlch(33.14, 78.63, 314.82°)
OKLaboklab(44.87% 0.1163 -0.1587)
OKLCHoklch(44.87% 0.197 306.2)
XYZxyz(14.5073, 7.5998, 37.7408)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124A8 #5BA824
analogous
#2F24A8 #7124A8 #A8249D
triadic
#7124A8 #A87124 #24A871
tetradic
#7124A8 #A82F24 #5BA824 #249DA8
square
#7124A8 #A82F24 #5BA824 #249DA8
split-complementary
#7124A8 #9DA824 #24A82F
monochromatic
#2D0E43 #4F1976 #7124A8 #9235D4 #AD68DF

Accessibility & contrast

On white

8.33
#7124A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7124A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7124A8#FFFFFF#000000##FFFFFF
##7124A81.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#674666
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7124a8;
/* rgb */ color: rgb(113, 36, 168);
/* oklch */ color: oklch(44.9% 0.197 306.2);
Tailwind
colors: {
  custom: {
    50: '#9f68c3',
    500: '#7124a8',
    950: '#000000',
  },
}
SCSS
$custom: #7124a8;
$custom-light: #9f68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7124a8",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 275,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.44871,
    "c": 0.19678,
    "h": 306.2
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#7124A8
secondary
#8CC463
accent
#E84086
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7124A8

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

Preview Lab → · Contrast checker → · Palette generator →

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