#843ED7#843ED7

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

Color values

HEX#843ED7
RGBrgb(132, 62, 215)
HSLhsl(267, 66%, 54%)
HSVhsv(267, 71%, 84%)
CMYKcmyk(38.6%, 71.2%, 0%, 15.7%)
CIE-LABlab(43.15, 58.88, -66.94)
CIE-LCHlch(43.15, 89.15, 311.33°)
OKLaboklab(53.61% 0.1093 -0.1911)
OKLCHoklch(53.61% 0.22 299.8)
XYZxyz(23.5010, 13.2568, 65.5975)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843ED7 #91D73E
analogous
#3E45D7 #843ED7 #D13ED7
triadic
#843ED7 #D7843E #3ED784
tetradic
#843ED7 #D73E45 #91D73E #3ED7D1
square
#843ED7 #D73E45 #91D73E #3ED7D1
split-complementary
#843ED7 #D7D13E #45D73E
monochromatic
#491B80 #6625B3 #843ED7 #A471E2 #C5A3EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##843ED7#FFFFFF#000000##FFFFFF
##843ED71.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)
#0066DB
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#716487
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #843ed7;
/* rgb */ color: rgb(132, 62, 215);
/* oklch */ color: oklch(53.6% 0.220 299.8);
Tailwind
colors: {
  custom: {
    50: '#ae79e4',
    500: '#843ed7',
    950: '#000000',
  },
}
SCSS
$custom: #843ed7;
$custom-light: #ae79e4;
$custom-dark: #000000;
JSON
{
  "hex": "#843ed7",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 267.451,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.22012,
    "h": 299.8
  },
  "luminance": 0.13257
}

Semantic roles & 50–950 ramp

primary
#843ED7
secondary
#BBD998
accent
#E93F9B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #843ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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