#7141A2#7141A2

#7141A2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.153 H 304.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7141A2
RGBrgb(113, 65, 162)
HSLhsl(270, 43%, 45%)
HSVhsv(270, 60%, 64%)
CMYKcmyk(30.2%, 59.9%, 0%, 36.5%)
CIE-LABlab(37.66, 40.22, -44.85)
CIE-LCHlch(37.66, 60.24, 311.88°)
OKLaboklab(47.98% 0.0856 -0.1268)
OKLCHoklch(47.98% 0.153 304)
XYZxyz(15.2205, 9.9000, 35.2845)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7141A2 #72A241
analogous
#4142A2 #7141A2 #A241A2
triadic
#7141A2 #A27141 #41A271
tetradic
#7141A2 #A24142 #72A241 #41A2A2
square
#7141A2 #A24142 #72A241 #41A2A2
split-complementary
#7141A2 #A2A241 #42A241
monochromatic
#341E4B #532F76 #7141A2 #9061BF #AE8CD1

Accessibility & contrast

On white

7.05
#7141A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7141A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7141A2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7141A2#FFFFFF#000000##FFFFFF
##7141A21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A5
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#68546B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7141a2;
/* rgb */ color: rgb(113, 65, 162);
/* oklch */ color: oklch(48.0% 0.153 304.0);
Tailwind
colors: {
  custom: {
    50: '#9d78be',
    500: '#7141a2',
    950: '#000000',
  },
}
SCSS
$custom: #7141a2;
$custom-light: #9d78be;
$custom-dark: #000000;
JSON
{
  "hex": "#7141a2",
  "rgb": {
    "r": 113,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 269.691,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.15298,
    "h": 304
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#7141A2
secondary
#A0BC83
accent
#D35595
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0912
muted
#7E7B81

Preview Lab

Preview with #7141A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7141A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva