#7128AA#7128AA

#7128AA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.195 H 305.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7128AA
RGBrgb(113, 40, 170)
HSLhsl(274, 62%, 41%)
HSVhsv(274, 76%, 67%)
CMYKcmyk(33.5%, 76.5%, 0%, 33.3%)
CIE-LABlab(33.84, 54.31, -55.83)
CIE-LCHlch(33.84, 77.89, 314.21°)
OKLaboklab(45.41% 0.1123 -0.1589)
OKLCHoklch(45.41% 0.195 305.3)
XYZxyz(14.8229, 7.9307, 38.7723)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7128AA #61AA28
analogous
#3028AA #7128AA #AA28A2
triadic
#7128AA #AA7128 #28AA71
tetradic
#7128AA #AA3028 #61AA28 #28A2AA
square
#7128AA #AA3028 #61AA28 #28A2AA
split-complementary
#7128AA #A2AA28 #28AA30
monochromatic
#2F1147 #501C78 #7128AA #913ED2 #AD6FDD

Accessibility & contrast

On white

8.12
#7128AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7128AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7128AA#FFFFFF#000000##FFFFFF
##7128AA1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#664968
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7128aa;
/* rgb */ color: rgb(113, 40, 170);
/* oklch */ color: oklch(45.4% 0.195 305.3);
Tailwind
colors: {
  custom: {
    50: '#9f6ac4',
    500: '#7128aa',
    950: '#000000',
  },
}
SCSS
$custom: #7128aa;
$custom-light: #9f6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7128aa",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 273.692,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.19463,
    "h": 305.3
  },
  "luminance": 0.07931
}

Semantic roles & 50–950 ramp

primary
#7128AA
secondary
#91C46A
accent
#E5438A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7128AA

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

Preview Lab → · Contrast checker → · Palette generator →

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