#843CCD#843CCD

#843CCD is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.212 H 302.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#843CCD
RGBrgb(132, 60, 205)
HSLhsl(270, 59%, 52%)
HSVhsv(270, 71%, 80%)
CMYKcmyk(35.6%, 70.7%, 0%, 19.6%)
CIE-LABlab(42.07, 57.38, -62.93)
CIE-LCHlch(42.07, 85.17, 312.36°)
OKLaboklab(52.61% 0.113 -0.1793)
OKLCHoklch(52.61% 0.212 302.2)
XYZxyz(22.1484, 12.5450, 59.0003)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CCD #85CD3C
analogous
#3C3DCD #843CCD #CD3CCD
triadic
#843CCD #CD843C #3CCD84
tetradic
#843CCD #CD3C3D #85CD3C #3CCDCD
square
#843CCD #CD3C3D #85CD3C #3CCDCD
split-complementary
#843CCD #CDCD3C #3DCD3C
monochromatic
#471D71 #652AA2 #843CCD #A36DD9 #C19DE6

Accessibility & contrast

On white

5.98
#843CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#843CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CCD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CCD#FFFFFF#000000##FFFFFF
##843CCD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#755F81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #843ccd;
/* rgb */ color: rgb(132, 60, 205);
/* oklch */ color: oklch(52.6% 0.212 302.2);
Tailwind
colors: {
  custom: {
    50: '#ae78dd',
    500: '#843ccd',
    950: '#000000',
  },
}
SCSS
$custom: #843ccd;
$custom-light: #ae78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#843ccd",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 269.793,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52611,
    "c": 0.21193,
    "h": 302.2
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#843CCD
secondary
#B3D293
accent
#E24594
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843CCD

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

Preview Lab → · Contrast checker → · Palette generator →

#843CCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva