#7128AB#7128AB

#7128AB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.196 H 305.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7128AB
RGBrgb(113, 40, 171)
HSLhsl(273, 62%, 41%)
HSVhsv(273, 77%, 67%)
CMYKcmyk(33.9%, 76.6%, 0%, 32.9%)
CIE-LABlab(33.92, 54.55, -56.30)
CIE-LCHlch(33.92, 78.39, 314.09°)
OKLaboklab(45.49% 0.1121 -0.1603)
OKLCHoklch(45.49% 0.196 305)
XYZxyz(14.9179, 7.9687, 39.2724)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7128AB #62AB28
analogous
#3028AB #7128AB #AB28A4
triadic
#7128AB #AB7128 #28AB71
tetradic
#7128AB #AB3028 #62AB28 #28A4AB
square
#7128AB #AB3028 #62AB28 #28A4AB
split-complementary
#7128AB #A4AB28 #28AB30
monochromatic
#2F1148 #501C79 #7128AB #913ED2 #AD70DE

Accessibility & contrast

On white

8.10
#7128AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7128AB#FFFFFF#000000##FFFFFF
##7128AB1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7128ab;
/* rgb */ color: rgb(113, 40, 171);
/* oklch */ color: oklch(45.5% 0.196 305.0);
Tailwind
colors: {
  custom: {
    50: '#9f6ac5',
    500: '#7128ab',
    950: '#000000',
  },
}
SCSS
$custom: #7128ab;
$custom-light: #9f6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7128ab",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 273.435,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45494,
    "c": 0.19563,
    "h": 305
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#7128AB
secondary
#92C46A
accent
#E5438B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7128AB

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

Preview Lab → · Contrast checker → · Palette generator →

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