#843DC5#843DC5

#843DC5 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.202 H 304.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#843DC5
RGBrgb(132, 61, 197)
HSLhsl(271, 54%, 51%)
HSVhsv(271, 69%, 77%)
CMYKcmyk(33%, 69%, 0%, 22.7%)
CIE-LABlab(41.65, 55.03, -58.98)
CIE-LCHlch(41.65, 80.66, 313.02°)
OKLaboklab(52.13% 0.1133 -0.1676)
OKLCHoklch(52.13% 0.202 304)
XYZxyz(21.2602, 12.2743, 54.0616)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DC5 #7EC53D
analogous
#403DC5 #843DC5 #C53DC2
triadic
#843DC5 #C5843D #3DC584
tetradic
#843DC5 #C5403D #7EC53D #3DC2C5
square
#843DC5 #C5403D #7EC53D #3DC2C5
split-complementary
#843DC5 #C2C53D #3DC540
monochromatic
#451F68 #652D98 #843DC5 #A26CD3 #C09BE1

Accessibility & contrast

On white

6.08
#843DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#843DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DC5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DC5#FFFFFF#000000##FFFFFF
##843DC51.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#785C7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843dc5;
/* rgb */ color: rgb(132, 61, 197);
/* oklch */ color: oklch(52.1% 0.202 304.0);
Tailwind
colors: {
  custom: {
    50: '#ad78d7',
    500: '#843dc5',
    950: '#000000',
  },
}
SCSS
$custom: #843dc5;
$custom-light: #ad78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#843dc5",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 271.324,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.20233,
    "h": 304
  },
  "luminance": 0.12274
}

Semantic roles & 50–950 ramp

primary
#843DC5
secondary
#AECD91
accent
#DD4A91
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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