#7142C9#7142C9

#7142C9 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.198 H 294.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7142C9
RGBrgb(113, 66, 201)
HSLhsl(261, 56%, 52%)
HSVhsv(261, 67%, 79%)
CMYKcmyk(43.8%, 67.2%, 0%, 21.2%)
CIE-LABlab(40.61, 49.86, -63.08)
CIE-LCHlch(40.61, 80.41, 308.32°)
OKLaboklab(50.98% 0.0813 -0.1804)
OKLCHoklch(50.98% 0.198 294.3)
XYZxyz(19.2980, 11.6237, 56.4738)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7142C9 #9AC942
analogous
#4256C9 #7142C9 #B542C9
triadic
#7142C9 #C97142 #42C971
tetradic
#7142C9 #C94256 #9AC942 #42C9B5
square
#7142C9 #C94256 #9AC942 #42C9B5
split-complementary
#7142C9 #C9B542 #56C942
monochromatic
#3C2070 #562EA0 #7142C9 #9572D7 #B9A1E4

Accessibility & contrast

On white

6.32
#7142C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7142C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7142C9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7142C9#FFFFFF#000000##FFFFFF
##7142C91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#586380
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7142c9;
/* rgb */ color: rgb(113, 66, 201);
/* oklch */ color: oklch(51.0% 0.198 294.3);
Tailwind
colors: {
  custom: {
    50: '#a179da',
    500: '#7142c9',
    950: '#000000',
  },
}
SCSS
$custom: #7142c9;
$custom-light: #a179da;
$custom-dark: #000000;
JSON
{
  "hex": "#7142c9",
  "rgb": {
    "r": 113,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 260.889,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.19786,
    "h": 294.3
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#7142C9
secondary
#BCD196
accent
#DF49AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7142C9

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

Preview Lab → · Contrast checker → · Palette generator →

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