#7125A8#7125A8

#7125A8 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.196 H 306.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7125A8
RGBrgb(113, 37, 168)
HSLhsl(275, 64%, 40%)
HSVhsv(275, 78%, 66%)
CMYKcmyk(32.7%, 78%, 0%, 34.1%)
CIE-LABlab(33.27, 55.04, -55.56)
CIE-LCHlch(33.27, 78.21, 314.73°)
OKLaboklab(44.96% 0.1154 -0.1581)
OKLCHoklch(44.96% 0.196 306.1)
XYZxyz(14.5379, 7.6611, 37.7511)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7125A8 #5CA825
analogous
#2F25A8 #7125A8 #A8259D
triadic
#7125A8 #A87125 #25A871
tetradic
#7125A8 #A82F25 #5CA825 #259DA8
square
#7125A8 #A82F25 #5CA825 #259DA8
split-complementary
#7125A8 #9DA825 #25A82F
monochromatic
#2E0F44 #4F1A76 #7125A8 #9237D3 #AD69DE

Accessibility & contrast

On white

8.29
#7125A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7125A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7125A8#FFFFFF#000000##FFFFFF
##7125A81.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#674666
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7125a8;
/* rgb */ color: rgb(113, 37, 168);
/* oklch */ color: oklch(45.0% 0.196 306.1);
Tailwind
colors: {
  custom: {
    50: '#9f68c3',
    500: '#7125a8',
    950: '#000000',
  },
}
SCSS
$custom: #7125a8;
$custom-light: #9f68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7125a8",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 274.809,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44963,
    "c": 0.19578,
    "h": 306.1
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7125A8

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

Preview Lab → · Contrast checker → · Palette generator →

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