#7125C1#7125C1

#7125C1 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.220 H 299.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7125C1
RGBrgb(113, 37, 193)
HSLhsl(269, 68%, 45%)
HSVhsv(269, 81%, 76%)
CMYKcmyk(41.5%, 80.8%, 0%, 24.3%)
CIE-LABlab(35.37, 60.82, -66.98)
CIE-LCHlch(35.37, 90.47, 312.24°)
OKLaboklab(47.08% 0.1085 -0.1916)
OKLCHoklch(47.08% 0.22 299.5)
XYZxyz(17.0948, 8.6839, 51.2172)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7125C1 #75C125
analogous
#2527C1 #7125C1 #BF25C1
triadic
#7125C1 #C17125 #25C171
tetradic
#7125C1 #C12527 #75C125 #25C1BF
square
#7125C1 #C12527 #75C125 #25C1BF
split-complementary
#7125C1 #C1BF25 #27C125
monochromatic
#35115A #531B8E #7125C1 #9047DC #AF7BE6

Accessibility & contrast

On white

7.67
#7125C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7125C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7125C1#FFFFFF#000000##FFFFFF
##7125C11.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#5D5174
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7125c1;
/* rgb */ color: rgb(113, 37, 193);
/* oklch */ color: oklch(47.1% 0.220 299.5);
Tailwind
colors: {
  custom: {
    50: '#a16ad5',
    500: '#7125c1',
    950: '#000000',
  },
}
SCSS
$custom: #7125c1;
$custom-light: #a16ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7125c1",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 269.231,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47077,
    "c": 0.22021,
    "h": 299.5
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#7125C1
secondary
#A2CE74
accent
#EB3D96
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7125C1

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

Preview Lab → · Contrast checker → · Palette generator →

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