#7142B3#7142B3

#7142B3 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.3% C 0.172 H 299.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7142B3
RGBrgb(113, 66, 179)
HSLhsl(265, 46%, 48%)
HSVhsv(265, 63%, 70%)
CMYKcmyk(36.9%, 63.1%, 0%, 29.8%)
CIE-LABlab(39.00, 44.03, -52.81)
CIE-LCHlch(39.00, 68.76, 309.82°)
OKLaboklab(49.32% 0.0837 -0.1502)
OKLCHoklch(49.32% 0.172 299.1)
XYZxyz(16.8929, 10.6616, 43.8070)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7142B3 #84B342
analogous
#424BB3 #7142B3 #A942B3
triadic
#7142B3 #B37142 #42B371
tetradic
#7142B3 #B3424B #84B342 #42B3A9
square
#7142B3 #B3424B #84B342 #42B3A9
split-complementary
#7142B3 #B3A942 #4BB342
monochromatic
#39215A #553286 #7142B3 #916AC8 #B297D9

Accessibility & contrast

On white

6.70
#7142B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7142B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7142B3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7142B3#FFFFFF#000000##FFFFFF
##7142B31.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#0F5BB1
Tritanopia (blue-blind)
#625B74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7142b3;
/* rgb */ color: rgb(113, 66, 179);
/* oklch */ color: oklch(49.3% 0.172 299.1);
Tailwind
colors: {
  custom: {
    50: '#9e79ca',
    500: '#7142b3',
    950: '#000000',
  },
}
SCSS
$custom: #7142b3;
$custom-light: #9e79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7142b3",
  "rgb": {
    "r": 113,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 264.956,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49315,
    "c": 0.17191,
    "h": 299.1
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#7142B3
secondary
#ADC48C
accent
#D6529F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7142B3

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

Preview Lab → · Contrast checker → · Palette generator →

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