#7129B2#7129B2

#7129B2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.202 H 302.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7129B2
RGBrgb(113, 41, 178)
HSLhsl(272, 63%, 43%)
HSVhsv(272, 77%, 70%)
CMYKcmyk(36.5%, 77%, 0%, 30.2%)
CIE-LABlab(34.62, 55.77, -59.33)
CIE-LCHlch(34.62, 81.43, 313.23°)
OKLaboklab(46.17% 0.1096 -0.1692)
OKLCHoklch(46.17% 0.202 302.9)
XYZxyz(15.6370, 8.3109, 42.8912)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7129B2 #6AB229
analogous
#2D29B2 #7129B2 #B229AE
triadic
#7129B2 #B27129 #29B271
tetradic
#7129B2 #B22D29 #6AB229 #29AEB2
square
#7129B2 #B22D29 #6AB229 #29AEB2
split-complementary
#7129B2 #AEB229 #29B22D
monochromatic
#32124F #511E80 #7129B2 #9044D4 #AD76DF

Accessibility & contrast

On white

7.89
#7129B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7129B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7129B2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7129B2#FFFFFF#000000##FFFFFF
##7129B21.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#634D6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7129b2;
/* rgb */ color: rgb(113, 41, 178);
/* oklch */ color: oklch(46.2% 0.202 302.9);
Tailwind
colors: {
  custom: {
    50: '#a06bca',
    500: '#7129b2',
    950: '#000000',
  },
}
SCSS
$custom: #7129b2;
$custom-light: #a06bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7129b2",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 271.533,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.2016,
    "h": 302.9
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#7129B2
secondary
#99C770
accent
#E64290
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7129B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7129B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva