#7142C8#7142C8

#7142C8 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.197 H 294.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7142C8
RGBrgb(113, 66, 200)
HSLhsl(261, 55%, 52%)
HSVhsv(261, 67%, 78%)
CMYKcmyk(43.5%, 67%, 0%, 21.6%)
CIE-LABlab(40.54, 49.59, -62.63)
CIE-LCHlch(40.54, 79.88, 308.37°)
OKLaboklab(50.9% 0.0814 -0.179)
OKLCHoklch(50.9% 0.197 294.5)
XYZxyz(19.1808, 11.5768, 55.8563)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7142C8 #99C842
analogous
#4256C8 #7142C8 #B442C8
triadic
#7142C8 #C87142 #42C871
tetradic
#7142C8 #C84256 #99C842 #42C8B4
square
#7142C8 #C84256 #99C842 #42C8B4
split-complementary
#7142C8 #C8B442 #56C842
monochromatic
#3C206F #562E9F #7142C8 #9571D6 #B8A1E4

Accessibility & contrast

On white

6.33
#7142C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7142C8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7142C8#FFFFFF#000000##FFFFFF
##7142C81.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#59627F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7142c8;
/* rgb */ color: rgb(113, 66, 200);
/* oklch */ color: oklch(50.9% 0.197 294.5);
Tailwind
colors: {
  custom: {
    50: '#a179da',
    500: '#7142c8',
    950: '#000000',
  },
}
SCSS
$custom: #7142c8;
$custom-light: #a179da;
$custom-dark: #000000;
JSON
{
  "hex": "#7142c8",
  "rgb": {
    "r": 113,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 261.045,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.1967,
    "h": 294.5
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

primary
#7142C8
secondary
#BCD096
accent
#DE4AAA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7142C8

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

Preview Lab → · Contrast checker → · Palette generator →

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