#7128AE#7128AE

#7128AE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.199 H 304.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7128AE
RGBrgb(113, 40, 174)
HSLhsl(273, 63%, 42%)
HSVhsv(273, 77%, 68%)
CMYKcmyk(35.1%, 77%, 0%, 31.8%)
CIE-LABlab(34.16, 55.24, -57.70)
CIE-LCHlch(34.16, 79.88, 313.75°)
OKLaboklab(45.74% 0.1114 -0.1644)
OKLCHoklch(45.74% 0.199 304.1)
XYZxyz(15.2071, 8.0843, 40.7955)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7128AE #65AE28
analogous
#2E28AE #7128AE #AE28A8
triadic
#7128AE #AE7128 #28AE71
tetradic
#7128AE #AE2E28 #65AE28 #28A8AE
square
#7128AE #AE2E28 #65AE28 #28A8AE
split-complementary
#7128AE #A8AE28 #28AE2E
monochromatic
#30114A #511D7C #7128AE #9040D3 #AD72DF

Accessibility & contrast

On white

8.03
#7128AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7128AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7128AE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7128AE#FFFFFF#000000##FFFFFF
##7128AE1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#654A6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7128ae;
/* rgb */ color: rgb(113, 40, 174);
/* oklch */ color: oklch(45.7% 0.199 304.1);
Tailwind
colors: {
  custom: {
    50: '#a06ac7',
    500: '#7128ae',
    950: '#000000',
  },
}
SCSS
$custom: #7128ae;
$custom-light: #a06ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7128ae",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 272.687,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45738,
    "c": 0.19863,
    "h": 304.1
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#7128AE
secondary
#95C66C
accent
#E6428D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7128AE

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

Preview Lab → · Contrast checker → · Palette generator →

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