#7125A9#7125A9

#7125A9 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.197 H 305.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7125A9
RGBrgb(113, 37, 169)
HSLhsl(275, 64%, 40%)
HSVhsv(275, 78%, 66%)
CMYKcmyk(33.1%, 78.1%, 0%, 33.7%)
CIE-LABlab(33.35, 55.27, -56.03)
CIE-LCHlch(33.35, 78.70, 314.61°)
OKLaboklab(45.04% 0.1152 -0.1595)
OKLCHoklch(45.04% 0.197 305.8)
XYZxyz(14.6315, 7.6985, 38.2436)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7125A9 #5DA925
analogous
#2F25A9 #7125A9 #A9259F
triadic
#7125A9 #A97125 #25A971
tetradic
#7125A9 #A92F25 #5DA925 #259FA9
square
#7125A9 #A92F25 #5DA925 #259FA9
split-complementary
#7125A9 #9FA925 #25A92F
monochromatic
#2E0F45 #4F1A77 #7125A9 #9138D3 #AD6ADE

Accessibility & contrast

On white

8.27
#7125A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7125A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7125A9#FFFFFF#000000##FFFFFF
##7125A91.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#674766
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7125a9;
/* rgb */ color: rgb(113, 37, 169);
/* oklch */ color: oklch(45.0% 0.197 305.8);
Tailwind
colors: {
  custom: {
    50: '#9f69c3',
    500: '#7125a9',
    950: '#000000',
  },
}
SCSS
$custom: #7125a9;
$custom-light: #9f69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7125a9",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 274.545,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45044,
    "c": 0.19675,
    "h": 305.8
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#7125A9
secondary
#8EC465
accent
#E74187
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7125A9

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

Preview Lab → · Contrast checker → · Palette generator →

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