#7124AF#7124AF

#7124AF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.204 H 304.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7124AF
RGBrgb(113, 36, 175)
HSLhsl(273, 66%, 41%)
HSVhsv(273, 79%, 69%)
CMYKcmyk(35.4%, 79.4%, 0%, 31.4%)
CIE-LABlab(33.71, 57.01, -59.04)
CIE-LCHlch(33.71, 82.07, 314.00°)
OKLaboklab(45.45% 0.1145 -0.1683)
OKLCHoklch(45.45% 0.204 304.2)
XYZxyz(15.1770, 7.8677, 41.2682)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124AF #62AF24
analogous
#2B24AF #7124AF #AF24A8
triadic
#7124AF #AF7124 #24AF71
tetradic
#7124AF #AF2B24 #62AF24 #24A8AF
square
#7124AF #AF2B24 #62AF24 #24A8AF
split-complementary
#7124AF #A8AF24 #24AF2B
monochromatic
#2F0F49 #501A7C #7124AF #913AD6 #AD6DE1

Accessibility & contrast

On white

8.16
#7124AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7124AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7124AF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7124AF#FFFFFF#000000##FFFFFF
##7124AF1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#65496A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7124af;
/* rgb */ color: rgb(113, 36, 175);
/* oklch */ color: oklch(45.4% 0.204 304.2);
Tailwind
colors: {
  custom: {
    50: '#a068c8',
    500: '#7124af',
    950: '#000000',
  },
}
SCSS
$custom: #7124af;
$custom-light: #a068c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7124af",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 273.237,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.20358,
    "h": 304.2
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#7124AF
secondary
#92C768
accent
#E93F8B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7124AF

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

Preview Lab → · Contrast checker → · Palette generator →

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