#7125AF#7125AF

#7125AF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.203 H 304.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7125AF
RGBrgb(113, 37, 175)
HSLhsl(273, 65%, 42%)
HSVhsv(273, 79%, 69%)
CMYKcmyk(35.4%, 78.9%, 0%, 31.4%)
CIE-LABlab(33.83, 56.64, -58.83)
CIE-LCHlch(33.83, 81.66, 313.91°)
OKLaboklab(45.54% 0.1137 -0.1677)
OKLCHoklch(45.54% 0.203 304.1)
XYZxyz(15.2077, 7.9290, 41.2784)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7125AF #63AF25
analogous
#2C25AF #7125AF #AF25A8
triadic
#7125AF #AF7125 #25AF71
tetradic
#7125AF #AF2C25 #63AF25 #25A8AF
square
#7125AF #AF2C25 #63AF25 #25A8AF
split-complementary
#7125AF #A8AF25 #25AF2C
monochromatic
#30104A #501A7C #7125AF #903CD6 #AD6EE0

Accessibility & contrast

On white

8.12
#7125AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7125AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7125AF#FFFFFF#000000##FFFFFF
##7125AF1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#65496A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7125af;
/* rgb */ color: rgb(113, 37, 175);
/* oklch */ color: oklch(45.5% 0.203 304.1);
Tailwind
colors: {
  custom: {
    50: '#a069c8',
    500: '#7125af',
    950: '#000000',
  },
}
SCSS
$custom: #7125af;
$custom-light: #a069c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7125af",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 273.043,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45537,
    "c": 0.20262,
    "h": 304.1
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#7125AF
secondary
#93C769
accent
#E8408B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7125AF

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

Preview Lab → · Contrast checker → · Palette generator →

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