#7124A7#7124A7

#7124A7 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.196 H 306.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7124A7
RGBrgb(113, 36, 167)
HSLhsl(275, 65%, 40%)
HSVhsv(275, 78%, 65%)
CMYKcmyk(32.3%, 78.4%, 0%, 34.5%)
CIE-LABlab(33.05, 55.20, -55.30)
CIE-LCHlch(33.05, 78.14, 314.94°)
OKLaboklab(44.79% 0.1165 -0.1574)
OKLCHoklch(44.79% 0.196 306.5)
XYZxyz(14.4145, 7.5626, 37.2521)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124A7 #5AA724
analogous
#2F24A7 #7124A7 #A7249C
triadic
#7124A7 #A77124 #24A771
tetradic
#7124A7 #A72F24 #5AA724 #249CA7
square
#7124A7 #A72F24 #5AA724 #249CA7
split-complementary
#7124A7 #9CA724 #24A72F
monochromatic
#2D0E42 #4F1975 #7124A7 #9235D3 #AD67DE

Accessibility & contrast

On white

8.36
#7124A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7124A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7124A7#FFFFFF#000000##FFFFFF
##7124A71.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#674665
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7124a7;
/* rgb */ color: rgb(113, 36, 167);
/* oklch */ color: oklch(44.8% 0.196 306.5);
Tailwind
colors: {
  custom: {
    50: '#9f68c2',
    500: '#7124a7',
    950: '#000000',
  },
}
SCSS
$custom: #7124a7;
$custom-light: #9f68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7124a7",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 275.267,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44789,
    "c": 0.19581,
    "h": 306.5
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#7124A7
secondary
#8BC463
accent
#E84085
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7124A7

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

Preview Lab → · Contrast checker → · Palette generator →

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