#7127B8#7127B8

#7127B8 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.210 H 301.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7127B8
RGBrgb(113, 39, 184)
HSLhsl(271, 65%, 44%)
HSVhsv(271, 79%, 72%)
CMYKcmyk(38.6%, 78.8%, 0%, 27.8%)
CIE-LABlab(34.85, 57.97, -62.52)
CIE-LCHlch(34.85, 85.26, 312.84°)
OKLaboklab(46.48% 0.1097 -0.1786)
OKLCHoklch(46.48% 0.21 301.5)
XYZxyz(16.1852, 8.4223, 46.1111)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127B8 #6EB827
analogous
#2927B8 #7127B8 #B827B6
triadic
#7127B8 #B87127 #27B871
tetradic
#7127B8 #B82927 #6EB827 #27B6B8
square
#7127B8 #B82927 #6EB827 #27B6B8
split-complementary
#7127B8 #B6B827 #27B829
monochromatic
#331253 #521C86 #7127B8 #9045D8 #AE77E2

Accessibility & contrast

On white

7.82
#7127B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7127B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127B8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127B8#FFFFFF#000000##FFFFFF
##7127B81.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#614E6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7127b8;
/* rgb */ color: rgb(113, 39, 184);
/* oklch */ color: oklch(46.5% 0.210 301.5);
Tailwind
colors: {
  custom: {
    50: '#a06ace',
    500: '#7127b8',
    950: '#000000',
  },
}
SCSS
$custom: #7127b8;
$custom-light: #a06ace;
$custom-dark: #000000;
JSON
{
  "hex": "#7127b8",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 270.621,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.20957,
    "h": 301.5
  },
  "luminance": 0.08422
}

Semantic roles & 50–950 ramp

primary
#7127B8
secondary
#9CCA71
accent
#E84092
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7127B8

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

Preview Lab → · Contrast checker → · Palette generator →

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