#7127BA#7127BA

#7127BA is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.212 H 301.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7127BA
RGBrgb(113, 39, 186)
HSLhsl(270, 65%, 44%)
HSVhsv(270, 79%, 73%)
CMYKcmyk(39.2%, 79%, 0%, 27.1%)
CIE-LABlab(35.02, 58.44, -63.43)
CIE-LCHlch(35.02, 86.25, 312.65°)
OKLaboklab(46.65% 0.1091 -0.1812)
OKLCHoklch(46.65% 0.212 301)
XYZxyz(16.3963, 8.5068, 47.2230)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127BA #70BA27
analogous
#2827BA #7127BA #BA27BA
triadic
#7127BA #BA7127 #27BA71
tetradic
#7127BA #BA2827 #70BA27 #27BABA
square
#7127BA #BA2827 #70BA27 #27BABA
split-complementary
#7127BA #BABA27 #27BA28
monochromatic
#341255 #521C87 #7127BA #9046D8 #AE79E3

Accessibility & contrast

On white

7.77
#7127BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7127BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127BA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127BA#FFFFFF#000000##FFFFFF
##7127BA1.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)
#0052BE
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#604F71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7127ba;
/* rgb */ color: rgb(113, 39, 186);
/* oklch */ color: oklch(46.6% 0.212 301.0);
Tailwind
colors: {
  custom: {
    50: '#a16ad0',
    500: '#7127ba',
    950: '#000000',
  },
}
SCSS
$custom: #7127ba;
$custom-light: #a16ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7127ba",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 270.204,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46647,
    "c": 0.21155,
    "h": 301
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#7127BA
secondary
#9ECB72
accent
#E84093
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7127BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7127BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva