#7142B0#7142B0

#7142B0 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.168 H 299.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7142B0
RGBrgb(113, 66, 176)
HSLhsl(266, 45%, 47%)
HSVhsv(266, 63%, 69%)
CMYKcmyk(35.8%, 62.5%, 0%, 31%)
CIE-LABlab(38.80, 43.25, -51.37)
CIE-LCHlch(38.80, 67.15, 310.09°)
OKLaboklab(49.1% 0.0838 -0.1459)
OKLCHoklch(49.1% 0.168 299.9)
XYZxyz(16.5928, 10.5416, 42.2264)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7142B0 #81B042
analogous
#424AB0 #7142B0 #A842B0
triadic
#7142B0 #B07142 #42B071
tetradic
#7142B0 #B0424A #81B042 #42B0A8
square
#7142B0 #B0424A #81B042 #42B0A8
split-complementary
#7142B0 #B0A842 #4AB042
monochromatic
#382157 #543183 #7142B0 #9169C7 #B195D7

Accessibility & contrast

On white

6.76
#7142B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7142B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7142B0
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7142B0#FFFFFF#000000##FFFFFF
##7142B01.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#175BAE
Tritanopia (blue-blind)
#635A73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7142b0;
/* rgb */ color: rgb(113, 66, 176);
/* oklch */ color: oklch(49.1% 0.168 299.9);
Tailwind
colors: {
  custom: {
    50: '#9e79c8',
    500: '#7142b0',
    950: '#000000',
  },
}
SCSS
$custom: #7142b0;
$custom-light: #9e79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7142b0",
  "rgb": {
    "r": 113,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 265.636,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49099,
    "c": 0.16832,
    "h": 299.9
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#7142B0
secondary
#ABC38B
accent
#D5539D
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7142B0

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

Preview Lab → · Contrast checker → · Palette generator →

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