#7125AA#7125AA

#7125AA is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.198 H 305.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7125AA
RGBrgb(113, 37, 170)
HSLhsl(274, 64%, 41%)
HSVhsv(274, 78%, 67%)
CMYKcmyk(33.5%, 78.2%, 0%, 33.3%)
CIE-LABlab(33.43, 55.50, -56.50)
CIE-LCHlch(33.43, 79.20, 314.49°)
OKLaboklab(45.13% 0.115 -0.1609)
OKLCHoklch(45.13% 0.198 305.5)
XYZxyz(14.7257, 7.7362, 38.7399)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7125AA #5EAA25
analogous
#2F25AA #7125AA #AA25A0
triadic
#7125AA #AA7125 #25AA71
tetradic
#7125AA #AA2F25 #5EAA25 #25A0AA
square
#7125AA #AA2F25 #5EAA25 #25A0AA
split-complementary
#7125AA #A0AA25 #25AA2F
monochromatic
#2E0F45 #501A78 #7125AA #9138D4 #AD6BDF

Accessibility & contrast

On white

8.24
#7125AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7125AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7125AA#FFFFFF#000000##FFFFFF
##7125AA1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#664767
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7125aa;
/* rgb */ color: rgb(113, 37, 170);
/* oklch */ color: oklch(45.1% 0.198 305.5);
Tailwind
colors: {
  custom: {
    50: '#9f69c4',
    500: '#7125aa',
    950: '#000000',
  },
}
SCSS
$custom: #7125aa;
$custom-light: #9f69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7125aa",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 274.286,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.19773,
    "h": 305.5
  },
  "luminance": 0.07736
}

Semantic roles & 50–950 ramp

primary
#7125AA
secondary
#8FC566
accent
#E74188
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7125AA

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

Preview Lab → · Contrast checker → · Palette generator →

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