#7124BB#7124BB

#7124BB is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.215 H 301.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7124BB
RGBrgb(113, 36, 187)
HSLhsl(271, 68%, 44%)
HSVhsv(271, 81%, 73%)
CMYKcmyk(39.6%, 80.7%, 0%, 26.7%)
CIE-LABlab(34.72, 59.78, -64.50)
CIE-LCHlch(34.72, 87.94, 312.82°)
OKLaboklab(46.47% 0.1111 -0.1844)
OKLCHoklch(46.47% 0.215 301.1)
XYZxyz(16.4084, 8.3602, 47.7533)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124BB #6EBB24
analogous
#2524BB #7124BB #BB24B9
triadic
#7124BB #BB7124 #24BB71
tetradic
#7124BB #BB2524 #6EBB24 #24B9BB
square
#7124BB #BB2524 #6EBB24 #24B9BB
split-complementary
#7124BB #B9BB24 #24BB25
monochromatic
#331054 #521A88 #7124BB #9042DB #AE75E4

Accessibility & contrast

On white

7.86
#7124BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7124BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7124BB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7124BB#FFFFFF#000000##FFFFFF
##7124BB1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#604E71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7124bb;
/* rgb */ color: rgb(113, 36, 187);
/* oklch */ color: oklch(46.5% 0.215 301.1);
Tailwind
colors: {
  custom: {
    50: '#a169d1',
    500: '#7124bb',
    950: '#000000',
  },
}
SCSS
$custom: #7124bb;
$custom-light: #a169d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7124bb",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 270.596,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46468,
    "c": 0.21523,
    "h": 301.1
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#7124BB
secondary
#9CCC6F
accent
#EB3D92
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7124BB

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

Preview Lab → · Contrast checker → · Palette generator →

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