#7128BD#7128BD

#7128BD is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.214 H 300.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7128BD
RGBrgb(113, 40, 189)
HSLhsl(269, 65%, 45%)
HSVhsv(269, 79%, 74%)
CMYKcmyk(40.2%, 78.8%, 0%, 25.9%)
CIE-LABlab(35.40, 58.76, -64.56)
CIE-LCHlch(35.40, 87.30, 312.31°)
OKLaboklab(47% 0.1075 -0.1846)
OKLCHoklch(47% 0.214 300.2)
XYZxyz(16.7519, 8.7022, 48.9314)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7128BD #74BD28
analogous
#2829BD #7128BD #BC28BD
triadic
#7128BD #BD7128 #28BD71
tetradic
#7128BD #BD2829 #74BD28 #28BDBC
square
#7128BD #BD2829 #74BD28 #28BDBC
split-complementary
#7128BD #BDBC28 #29BD28
monochromatic
#351358 #531D8A #7128BD #904AD9 #AF7CE3

Accessibility & contrast

On white

7.66
#7128BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7128BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7128BD#FFFFFF#000000##FFFFFF
##7128BD1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#5F5173
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7128bd;
/* rgb */ color: rgb(113, 40, 189);
/* oklch */ color: oklch(47.0% 0.214 300.2);
Tailwind
colors: {
  custom: {
    50: '#a16bd2',
    500: '#7128bd',
    950: '#000000',
  },
}
SCSS
$custom: #7128bd;
$custom-light: #a16bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7128bd",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 269.396,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46996,
    "c": 0.21359,
    "h": 300.2
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#7128BD
secondary
#A1CB75
accent
#E84096
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7128BD

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

Preview Lab → · Contrast checker → · Palette generator →

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