#7142A2#7142A2

#7142A2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.1% C 0.151 H 303.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7142A2
RGBrgb(113, 66, 162)
HSLhsl(269, 42%, 45%)
HSVhsv(269, 59%, 64%)
CMYKcmyk(30.2%, 59.3%, 0%, 36.5%)
CIE-LABlab(37.87, 39.66, -44.52)
CIE-LCHlch(37.87, 59.62, 311.70°)
OKLaboklab(48.13% 0.0843 -0.1258)
OKLCHoklch(48.13% 0.151 303.8)
XYZxyz(15.2784, 10.0158, 35.3038)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7142A2 #73A242
analogous
#4243A2 #7142A2 #A142A2
triadic
#7142A2 #A27142 #42A271
tetradic
#7142A2 #A24243 #73A242 #42A2A1
square
#7142A2 #A24243 #73A242 #42A2A1
split-complementary
#7142A2 #A2A142 #43A242
monochromatic
#341F4B #533077 #7142A2 #9062BF #AF8ED1

Accessibility & contrast

On white

6.99
#7142A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7142A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7142A2
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7142A2#FFFFFF#000000##FFFFFF
##7142A21.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A5
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#68556B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7142a2;
/* rgb */ color: rgb(113, 66, 162);
/* oklch */ color: oklch(48.1% 0.151 303.8);
Tailwind
colors: {
  custom: {
    50: '#9d78be',
    500: '#7142a2',
    950: '#000000',
  },
}
SCSS
$custom: #7142a2;
$custom-light: #9d78be;
$custom-dark: #000000;
JSON
{
  "hex": "#7142a2",
  "rgb": {
    "r": 113,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 269.375,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48128,
    "c": 0.15144,
    "h": 303.8
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#7142A2
secondary
#A0BC84
accent
#D25695
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0912
muted
#7E7B81

Preview Lab

Preview with #7142A2

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

Preview Lab → · Contrast checker → · Palette generator →

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