#842CC0#842CC0

#842CC0 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.0% C 0.216 H 307.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#842CC0
RGBrgb(132, 44, 192)
HSLhsl(276, 63%, 46%)
HSVhsv(276, 77%, 75%)
CMYKcmyk(31.2%, 77.1%, 0%, 24.7%)
CIE-LABlab(38.75, 61.06, -60.77)
CIE-LCHlch(38.75, 86.14, 315.14°)
OKLaboklab(49.96% 0.1303 -0.1728)
OKLCHoklch(49.96% 0.216 307)
XYZxyz(19.9288, 10.5129, 50.8383)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842CC0 #68C02C
analogous
#3A2CC0 #842CC0 #C02CB2
triadic
#842CC0 #C0842C #2CC084
tetradic
#842CC0 #C03A2C #68C02C #2CB2C0
square
#842CC0 #C03A2C #68C02C #2CB2C0
split-complementary
#842CC0 #B2C02C #2CC03A
monochromatic
#40155C #62218E #842CC0 #A152D7 #BC84E3

Accessibility & contrast

On white

6.77
#842CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#842CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #842CC0
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842CC0#FFFFFF#000000##FFFFFF
##842CC01.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#7A5175
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #842cc0;
/* rgb */ color: rgb(132, 44, 192);
/* oklch */ color: oklch(50.0% 0.216 307.0);
Tailwind
colors: {
  custom: {
    50: '#ad6fd4',
    500: '#842cc0',
    950: '#000000',
  },
}
SCSS
$custom: #842cc0;
$custom-light: #ad6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#842cc0",
  "rgb": {
    "r": 132,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 275.676,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49957,
    "c": 0.21643,
    "h": 307
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#842CC0
secondary
#9CCC7C
accent
#E64284
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #842CC0

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

Preview Lab → · Contrast checker → · Palette generator →

#842CC0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva