#7125BC#7125BC

#7125BC is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.215 H 300.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7125BC
RGBrgb(113, 37, 188)
HSLhsl(270, 67%, 44%)
HSVhsv(270, 80%, 74%)
CMYKcmyk(39.9%, 80.3%, 0%, 26.3%)
CIE-LABlab(34.93, 59.65, -64.75)
CIE-LCHlch(34.93, 88.04, 312.65°)
OKLaboklab(46.64% 0.11 -0.1851)
OKLCHoklch(46.64% 0.215 300.7)
XYZxyz(16.5465, 8.4645, 48.3293)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7125BC #70BC25
analogous
#2625BC #7125BC #BC25BC
triadic
#7125BC #BC7125 #25BC71
tetradic
#7125BC #BC2625 #70BC25 #25BCBC
square
#7125BC #BC2625 #70BC25 #25BCBC
split-complementary
#7125BC #BCBC25 #25BC26
monochromatic
#341156 #521B89 #7125BC #9044DA #AE77E4

Accessibility & contrast

On white

7.80
#7125BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7125BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7125BC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7125BC#FFFFFF#000000##FFFFFF
##7125BC1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#604F71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7125bc;
/* rgb */ color: rgb(113, 37, 188);
/* oklch */ color: oklch(46.6% 0.215 300.7);
Tailwind
colors: {
  custom: {
    50: '#a16ad1',
    500: '#7125bc',
    950: '#000000',
  },
}
SCSS
$custom: #7125bc;
$custom-light: #a16ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7125bc",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 270.199,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46641,
    "c": 0.21533,
    "h": 300.7
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#7125BC
secondary
#9ECC71
accent
#EA3E93
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7125BC

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

Preview Lab → · Contrast checker → · Palette generator →

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