#843DCD#843DCD

#843DCD is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.211 H 302.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#843DCD
RGBrgb(132, 61, 205)
HSLhsl(270, 59%, 52%)
HSVhsv(270, 70%, 80%)
CMYKcmyk(35.6%, 70.2%, 0%, 19.6%)
CIE-LABlab(42.23, 56.93, -62.67)
CIE-LCHlch(42.23, 84.67, 312.25°)
OKLaboklab(52.73% 0.1121 -0.1785)
OKLCHoklch(52.73% 0.211 302.1)
XYZxyz(22.2013, 12.6507, 59.0180)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DCD #86CD3D
analogous
#3D3ECD #843DCD #CC3DCD
triadic
#843DCD #CD843D #3DCD84
tetradic
#843DCD #CD3D3E #86CD3D #3DCDCC
square
#843DCD #CD3D3E #86CD3D #3DCDCC
split-complementary
#843DCD #CDCC3D #3ECD3D
monochromatic
#471D72 #662AA3 #843DCD #A36EDA #C29EE6

Accessibility & contrast

On white

5.95
#843DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#843DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DCD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DCD#FFFFFF#000000##FFFFFF
##843DCD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #843dcd;
/* rgb */ color: rgb(132, 61, 205);
/* oklch */ color: oklch(52.7% 0.211 302.1);
Tailwind
colors: {
  custom: {
    50: '#ad78dd',
    500: '#843dcd',
    950: '#000000',
  },
}
SCSS
$custom: #843dcd;
$custom-light: #ad78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#843dcd",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 269.583,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.21075,
    "h": 302.1
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #843DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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