#843CDB#843CDB

#843CDB is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.227 H 299.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#843CDB
RGBrgb(132, 60, 219)
HSLhsl(267, 69%, 55%)
HSVhsv(267, 73%, 86%)
CMYKcmyk(39.7%, 72.6%, 0%, 14.1%)
CIE-LABlab(43.14, 60.74, -69.24)
CIE-LCHlch(43.14, 92.11, 311.26°)
OKLaboklab(53.7% 0.1104 -0.1978)
OKLCHoklch(53.7% 0.227 299.2)
XYZxyz(23.9145, 13.2514, 68.3019)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CDB #93DB3C
analogous
#3C44DB #843CDB #D43CDB
triadic
#843CDB #DB843C #3CDB84
tetradic
#843CDB #DB3C44 #93DB3C #3CDBD4
square
#843CDB #DB3C44 #93DB3C #3CDBD4
split-complementary
#843CDB #DBD43C #44DB3C
monochromatic
#491884 #6622B8 #843CDB #A570E5 #C5A3EE

Accessibility & contrast

On white

5.75
#843CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#843CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CDB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CDB#FFFFFF#000000##FFFFFF
##843CDB1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#6F6488
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #843cdb;
/* rgb */ color: rgb(132, 60, 219);
/* oklch */ color: oklch(53.7% 0.227 299.2);
Tailwind
colors: {
  custom: {
    50: '#af78e7',
    500: '#843cdb',
    950: '#000000',
  },
}
SCSS
$custom: #843cdb;
$custom-light: #af78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#843cdb",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 267.17,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.22652,
    "h": 299.2
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#843CDB
secondary
#BDDB98
accent
#EC3C9C
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #843CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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