#7128A3#7128A3

#7128A3 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.188 H 307.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7128A3
RGBrgb(113, 40, 163)
HSLhsl(276, 61%, 40%)
HSVhsv(276, 75%, 64%)
CMYKcmyk(30.7%, 75.5%, 0%, 36.1%)
CIE-LABlab(33.29, 52.71, -52.51)
CIE-LCHlch(33.29, 74.40, 315.11°)
OKLaboklab(44.86% 0.1138 -0.1492)
OKLCHoklch(44.86% 0.188 307.3)
XYZxyz(14.1783, 7.6728, 35.3773)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7128A3 #5AA328
analogous
#3428A3 #7128A3 #A32897
triadic
#7128A3 #A37128 #28A371
tetradic
#7128A3 #A33428 #5AA328 #2897A3
square
#7128A3 #A33428 #5AA328 #2897A3
split-complementary
#7128A3 #97A328 #28A334
monochromatic
#2D1041 #4F1C72 #7128A3 #923ACF #AD6BDB

Accessibility & contrast

On white

8.29
#7128A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7128A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7128A3#FFFFFF#000000##FFFFFF
##7128A31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#694664
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7128a3;
/* rgb */ color: rgb(113, 40, 163);
/* oklch */ color: oklch(44.9% 0.188 307.3);
Tailwind
colors: {
  custom: {
    50: '#9f6abf',
    500: '#7128a3',
    950: '#000000',
  },
}
SCSS
$custom: #7128a3;
$custom-light: #9f6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7128a3",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 275.61,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44858,
    "c": 0.18764,
    "h": 307.3
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#7128A3
secondary
#8BC166
accent
#E44485
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7128A3

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

Preview Lab → · Contrast checker → · Palette generator →

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