#7125A2#7125A2

#7125A2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.190 H 308.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7125A2
RGBrgb(113, 37, 162)
HSLhsl(276, 63%, 39%)
HSVhsv(276, 77%, 64%)
CMYKcmyk(30.2%, 77.2%, 0%, 36.5%)
CIE-LABlab(32.79, 53.69, -52.71)
CIE-LCHlch(32.79, 75.24, 315.52°)
OKLaboklab(44.48% 0.1168 -0.1497)
OKLCHoklch(44.48% 0.19 308)
XYZxyz(13.9918, 7.4427, 34.8749)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7125A2 #56A225
analogous
#3325A2 #7125A2 #A22595
triadic
#7125A2 #A27125 #25A271
tetradic
#7125A2 #A23325 #56A225 #2595A2
square
#7125A2 #A23325 #56A225 #2595A2
split-complementary
#7125A2 #95A225 #25A233
monochromatic
#2B0E3E #4E1A70 #7125A2 #9334D1 #AD65DC

Accessibility & contrast

On white

8.44
#7125A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7125A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7125A2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7125A2#FFFFFF#000000##FFFFFF
##7125A21.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#694462
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7125a2;
/* rgb */ color: rgb(113, 37, 162);
/* oklch */ color: oklch(44.5% 0.190 308.0);
Tailwind
colors: {
  custom: {
    50: '#9f68be',
    500: '#7125a2',
    950: '#000000',
  },
}
SCSS
$custom: #7125a2;
$custom-light: #9f68be;
$custom-dark: #000000;
JSON
{
  "hex": "#7125a2",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 276.48,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44483,
    "c": 0.18991,
    "h": 308
  },
  "luminance": 0.07442
}

Semantic roles & 50–950 ramp

primary
#7125A2
secondary
#87C261
accent
#E64282
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7125A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7125A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva