#7128AC#7128AC

#7128AC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.197 H 304.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7128AC
RGBrgb(113, 40, 172)
HSLhsl(273, 62%, 42%)
HSVhsv(273, 77%, 67%)
CMYKcmyk(34.3%, 76.7%, 0%, 32.5%)
CIE-LABlab(34.00, 54.78, -56.77)
CIE-LCHlch(34.00, 78.89, 313.98°)
OKLaboklab(45.58% 0.1119 -0.1617)
OKLCHoklch(45.58% 0.197 304.7)
XYZxyz(15.0135, 8.0069, 39.7763)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7128AC #63AC28
analogous
#2F28AC #7128AC #AC28A5
triadic
#7128AC #AC7128 #28AC71
tetradic
#7128AC #AC2F28 #63AC28 #28A5AC
square
#7128AC #AC2F28 #63AC28 #28A5AC
split-complementary
#7128AC #A5AC28 #28AC2F
monochromatic
#301149 #501C7A #7128AC #903FD2 #AD71DE

Accessibility & contrast

On white

8.07
#7128AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7128AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7128AC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7128AC#FFFFFF#000000##FFFFFF
##7128AC1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#664A69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7128ac;
/* rgb */ color: rgb(113, 40, 172);
/* oklch */ color: oklch(45.6% 0.197 304.7);
Tailwind
colors: {
  custom: {
    50: '#9f6ac6',
    500: '#7128ac',
    950: '#000000',
  },
}
SCSS
$custom: #7128ac;
$custom-light: #9f6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7128ac",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 273.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.19662,
    "h": 304.7
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#7128AC
secondary
#93C56B
accent
#E5428B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7128AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7128AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva