#7128A9#7128A9

#7128A9 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.194 H 305.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7128A9
RGBrgb(113, 40, 169)
HSLhsl(274, 62%, 41%)
HSVhsv(274, 76%, 66%)
CMYKcmyk(33.1%, 76.3%, 0%, 33.7%)
CIE-LABlab(33.76, 54.08, -55.36)
CIE-LCHlch(33.76, 77.39, 314.33°)
OKLaboklab(45.33% 0.1126 -0.1575)
OKLCHoklch(45.33% 0.194 305.5)
XYZxyz(14.7287, 7.8930, 38.2760)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7128A9 #60A928
analogous
#3028A9 #7128A9 #A928A0
triadic
#7128A9 #A97128 #28A971
tetradic
#7128A9 #A93028 #60A928 #28A0A9
square
#7128A9 #A93028 #60A928 #28A0A9
split-complementary
#7128A9 #A0A928 #28A930
monochromatic
#2F1146 #501C78 #7128A9 #913DD1 #AD6FDD

Accessibility & contrast

On white

8.14
#7128A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7128A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7128A9#FFFFFF#000000##FFFFFF
##7128A91.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#674867
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7128a9;
/* rgb */ color: rgb(113, 40, 169);
/* oklch */ color: oklch(45.3% 0.194 305.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ac3',
    500: '#7128a9',
    950: '#000000',
  },
}
SCSS
$custom: #7128a9;
$custom-light: #9f6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7128a9",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 273.953,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.19363,
    "h": 305.5
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#7128A9
secondary
#90C469
accent
#E54389
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7128A9

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

Preview Lab → · Contrast checker → · Palette generator →

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