#8142CF#8142CF

#8142CF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.206 H 299.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8142CF
RGBrgb(129, 66, 207)
HSLhsl(267, 59%, 54%)
HSVhsv(267, 68%, 81%)
CMYKcmyk(37.7%, 68.1%, 0%, 18.8%)
CIE-LABlab(42.87, 54.47, -62.81)
CIE-LCHlch(42.87, 83.14, 310.93°)
OKLaboklab(53.15% 0.1026 -0.179)
OKLCHoklch(53.15% 0.206 299.8)
XYZxyz(22.2612, 13.0683, 60.3690)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142CF #90CF42
analogous
#4249CF #8142CF #C842CF
triadic
#8142CF #CF8142 #42CF81
tetradic
#8142CF #CF4249 #90CF42 #42CFC8
square
#8142CF #CF4249 #90CF42 #42CFC8
split-complementary
#8142CF #CFC842 #49CF42
monochromatic
#471F78 #632BA9 #8142CF #A273DB #C2A4E8

Accessibility & contrast

On white

5.81
#8142CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8142CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142CF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142CF#FFFFFF#000000##FFFFFF
##8142CF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#6F6383
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8142cf;
/* rgb */ color: rgb(129, 66, 207);
/* oklch */ color: oklch(53.1% 0.206 299.8);
Tailwind
colors: {
  custom: {
    50: '#ab7bdf',
    500: '#8142cf',
    950: '#000000',
  },
}
SCSS
$custom: #8142cf;
$custom-light: #ab7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8142cf",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 266.809,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53145,
    "c": 0.20634,
    "h": 299.8
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#8142CF
secondary
#BAD598
accent
#E3459C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8142CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8142CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva