#843CCB#843CCB

#843CCB is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.210 H 302.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#843CCB
RGBrgb(132, 60, 203)
HSLhsl(270, 58%, 52%)
HSVhsv(270, 70%, 80%)
CMYKcmyk(35%, 70.4%, 0%, 20.4%)
CIE-LABlab(41.92, 56.91, -62.02)
CIE-LCHlch(41.92, 84.17, 312.54°)
OKLaboklab(52.46% 0.1134 -0.1766)
OKLCHoklch(52.46% 0.21 302.7)
XYZxyz(21.9085, 12.4490, 57.7370)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CCB #83CB3C
analogous
#3D3CCB #843CCB #CB3CCB
triadic
#843CCB #CB843C #3CCB84
tetradic
#843CCB #CB3D3C #83CB3C #3CCBCB
square
#843CCB #CB3D3C #83CB3C #3CCBCB
split-complementary
#843CCB #CBCB3C #3CCB3D
monochromatic
#471E6F #652A9F #843CCB #A26CD8 #C19DE5

Accessibility & contrast

On white

6.02
#843CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#843CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CCB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CCB#FFFFFF#000000##FFFFFF
##843CCB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#755E7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #843ccb;
/* rgb */ color: rgb(132, 60, 203);
/* oklch */ color: oklch(52.5% 0.210 302.7);
Tailwind
colors: {
  custom: {
    50: '#ad78dc',
    500: '#843ccb',
    950: '#000000',
  },
}
SCSS
$custom: #843ccb;
$custom-light: #ad78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#843ccb",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 270.21,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52459,
    "c": 0.20985,
    "h": 302.7
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#843CCB
secondary
#B1D192
accent
#E14793
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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