#843DC8#843DC8

#843DC8 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.205 H 303.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#843DC8
RGBrgb(132, 61, 200)
HSLhsl(271, 56%, 51%)
HSVhsv(271, 70%, 78%)
CMYKcmyk(34%, 69.5%, 0%, 21.6%)
CIE-LABlab(41.87, 55.74, -60.37)
CIE-LCHlch(41.87, 82.16, 312.72°)
OKLaboklab(52.35% 0.1128 -0.1717)
OKLCHoklch(52.35% 0.205 303.3)
XYZxyz(21.6074, 12.4132, 55.8900)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DC8 #81C83D
analogous
#3E3DC8 #843DC8 #C83DC7
triadic
#843DC8 #C8843D #3DC884
tetradic
#843DC8 #C83E3D #81C83D #3DC7C8
square
#843DC8 #C83E3D #81C83D #3DC7C8
split-complementary
#843DC8 #C7C83D #3DC83E
monochromatic
#461F6C #652C9C #843DC8 #A26DD6 #C09CE3

Accessibility & contrast

On white

6.03
#843DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#843DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DC8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DC8#FFFFFF#000000##FFFFFF
##843DC81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#775D7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #843dc8;
/* rgb */ color: rgb(132, 61, 200);
/* oklch */ color: oklch(52.3% 0.205 303.3);
Tailwind
colors: {
  custom: {
    50: '#ad78da',
    500: '#843dc8',
    950: '#000000',
  },
}
SCSS
$custom: #843dc8;
$custom-light: #ad78da;
$custom-dark: #000000;
JSON
{
  "hex": "#843dc8",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 270.647,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5235,
    "c": 0.20549,
    "h": 303.3
  },
  "luminance": 0.12413
}

Semantic roles & 50–950 ramp

primary
#843DC8
secondary
#B0CF92
accent
#DF4992
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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