#7125BD#7125BD

#7125BD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.216 H 300.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7125BD
RGBrgb(113, 37, 189)
HSLhsl(270, 67%, 44%)
HSVhsv(270, 80%, 74%)
CMYKcmyk(40.2%, 80.4%, 0%, 25.9%)
CIE-LABlab(35.02, 59.88, -65.20)
CIE-LCHlch(35.02, 88.52, 312.57°)
OKLaboklab(46.73% 0.1097 -0.1864)
OKLCHoklch(46.73% 0.216 300.5)
XYZxyz(16.6546, 8.5078, 48.8990)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7125BD #71BD25
analogous
#2525BD #7125BD #BD25BD
triadic
#7125BD #BD7125 #25BD71
tetradic
#7125BD #BD2525 #71BD25 #25BDBD
square
#7125BD #BD2525 #71BD25 #25BDBD
split-complementary
#7125BD #BDBD25 #25BD25
monochromatic
#341157 #521B8A #7125BD #9045DB #AE78E5

Accessibility & contrast

On white

7.77
#7125BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7125BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7125BD
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7125BD#FFFFFF#000000##FFFFFF
##7125BD1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#5F5072
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7125bd;
/* rgb */ color: rgb(113, 37, 189);
/* oklch */ color: oklch(46.7% 0.216 300.5);
Tailwind
colors: {
  custom: {
    50: '#a16ad2',
    500: '#7125bd',
    950: '#000000',
  },
}
SCSS
$custom: #7125bd;
$custom-light: #a16ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7125bd",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 270,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46727,
    "c": 0.21631,
    "h": 300.5
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#7125BD
secondary
#9FCC72
accent
#EA3E94
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7125BD

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

Preview Lab → · Contrast checker → · Palette generator →

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