#7125C4#7125C4

#7125C4 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.223 H 298.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7125C4
RGBrgb(113, 37, 196)
HSLhsl(269, 68%, 46%)
HSVhsv(269, 81%, 77%)
CMYKcmyk(42.3%, 81.1%, 0%, 23.1%)
CIE-LABlab(35.63, 61.53, -68.30)
CIE-LCHlch(35.63, 91.93, 312.01°)
OKLaboklab(47.34% 0.1075 -0.1955)
OKLCHoklch(47.34% 0.223 298.8)
XYZxyz(17.4329, 8.8191, 52.9976)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7125C4 #78C425
analogous
#2529C4 #7125C4 #C025C4
triadic
#7125C4 #C47125 #25C471
tetradic
#7125C4 #C42529 #78C425 #25C4C0
square
#7125C4 #C42529 #78C425 #25C4C0
split-complementary
#7125C4 #C4C025 #29C425
monochromatic
#36125D #531B91 #7125C4 #9049DD #AF7DE6

Accessibility & contrast

On white

7.60
#7125C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7125C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7125C4#FFFFFF#000000##FFFFFF
##7125C41.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#5C5376
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7125c4;
/* rgb */ color: rgb(113, 37, 196);
/* oklch */ color: oklch(47.3% 0.223 298.8);
Tailwind
colors: {
  custom: {
    50: '#a26ad7',
    500: '#7125c4',
    950: '#000000',
  },
}
SCSS
$custom: #7125c4;
$custom-light: #a26ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#7125c4",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 268.679,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.22315,
    "h": 298.8
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#7125C4
secondary
#A4CF76
accent
#EB3D98
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7125C4

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

Preview Lab → · Contrast checker → · Palette generator →

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