#7124BD#7124BD

#7124BD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.217 H 300.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7124BD
RGBrgb(113, 36, 189)
HSLhsl(270, 68%, 44%)
HSVhsv(270, 81%, 74%)
CMYKcmyk(40.2%, 81%, 0%, 25.9%)
CIE-LABlab(34.90, 60.24, -65.40)
CIE-LCHlch(34.90, 88.91, 312.65°)
OKLaboklab(46.64% 0.1104 -0.187)
OKLCHoklch(46.64% 0.217 300.6)
XYZxyz(16.6239, 8.4464, 48.8887)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7124BD #70BD24
analogous
#2524BD #7124BD #BD24BD
triadic
#7124BD #BD7124 #24BD71
tetradic
#7124BD #BD2524 #70BD24 #24BDBD
square
#7124BD #BD2524 #70BD24 #24BDBD
split-complementary
#7124BD #BDBD24 #24BD25
monochromatic
#341056 #521A8A #7124BD #9043DB #AE76E5

Accessibility & contrast

On white

7.81
#7124BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7124BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7124BD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7124BD#FFFFFF#000000##FFFFFF
##7124BD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#5F4F72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7124bd;
/* rgb */ color: rgb(113, 36, 189);
/* oklch */ color: oklch(46.6% 0.217 300.6);
Tailwind
colors: {
  custom: {
    50: '#a169d2',
    500: '#7124bd',
    950: '#000000',
  },
}
SCSS
$custom: #7124bd;
$custom-light: #a169d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7124bd",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 270.196,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46642,
    "c": 0.21717,
    "h": 300.6
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#7124BD
secondary
#9ECC70
accent
#EB3D93
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7124BD

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

Preview Lab → · Contrast checker → · Palette generator →

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