#843ECB#843ECB

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

Color values

HEX#843ECB
RGBrgb(132, 62, 203)
HSLhsl(270, 58%, 52%)
HSVhsv(270, 69%, 80%)
CMYKcmyk(35%, 69.5%, 0%, 20.4%)
CIE-LABlab(42.25, 55.99, -61.48)
CIE-LCHlch(42.25, 83.15, 312.32°)
OKLaboklab(52.69% 0.1114 -0.175)
OKLCHoklch(52.69% 0.207 302.5)
XYZxyz(22.0153, 12.6625, 57.7726)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843ECB #85CB3E
analogous
#3E3FCB #843ECB #CA3ECB
triadic
#843ECB #CB843E #3ECB84
tetradic
#843ECB #CB3E3F #85CB3E #3ECBCA
square
#843ECB #CB3E3F #85CB3E #3ECBCA
split-complementary
#843ECB #CBCA3E #3FCB3E
monochromatic
#471E70 #652BA1 #843ECB #A36ED8 #C19EE5

Accessibility & contrast

On white

5.94
#843ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #843ECB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843ECB#FFFFFF#000000##FFFFFF
##843ECB1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#755F80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #843ecb;
/* rgb */ color: rgb(132, 62, 203);
/* oklch */ color: oklch(52.7% 0.207 302.5);
Tailwind
colors: {
  custom: {
    50: '#ad79dc',
    500: '#843ecb',
    950: '#000000',
  },
}
SCSS
$custom: #843ecb;
$custom-light: #ad79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#843ecb",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 269.787,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52693,
    "c": 0.20745,
    "h": 302.5
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#843ECB
secondary
#B3D194
accent
#E14794
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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