#7125BE#7125BE

#7125BE is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.217 H 300.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7125BE
RGBrgb(113, 37, 190)
HSLhsl(270, 67%, 45%)
HSVhsv(270, 81%, 75%)
CMYKcmyk(40.5%, 80.5%, 0%, 25.5%)
CIE-LABlab(35.11, 60.12, -65.64)
CIE-LCHlch(35.11, 89.01, 312.48°)
OKLaboklab(46.81% 0.1094 -0.1877)
OKLCHoklch(46.81% 0.217 300.2)
XYZxyz(16.7636, 8.5514, 49.4726)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7125BE #72BE25
analogous
#2525BE #7125BE #BE25BE
triadic
#7125BE #BE7125 #25BE71
tetradic
#7125BE #BE2525 #72BE25 #25BEBE
square
#7125BE #BE2525 #72BE25 #25BEBE
split-complementary
#7125BE #BEBE25 #25BE25
monochromatic
#341158 #531B8B #7125BE #9045DB #AE79E5

Accessibility & contrast

On white

7.75
#7125BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7125BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7125BE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7125BE#FFFFFF#000000##FFFFFF
##7125BE1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#5F5073
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7125be;
/* rgb */ color: rgb(113, 37, 190);
/* oklch */ color: oklch(46.8% 0.217 300.2);
Tailwind
colors: {
  custom: {
    50: '#a16ad3',
    500: '#7125be',
    950: '#000000',
  },
}
SCSS
$custom: #7125be;
$custom-light: #a16ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7125be",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 269.804,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46814,
    "c": 0.21729,
    "h": 300.2
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

primary
#7125BE
secondary
#A0CD72
accent
#EA3E94
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7125BE

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

Preview Lab → · Contrast checker → · Palette generator →

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