#8343DC#8343DC

#8343DC is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.220 H 297.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8343DC
RGBrgb(131, 67, 220)
HSLhsl(265, 69%, 56%)
HSVhsv(265, 70%, 86%)
CMYKcmyk(40.5%, 69.5%, 0%, 13.7%)
CIE-LABlab(44.24, 57.60, -68.02)
CIE-LCHlch(44.24, 89.13, 310.26°)
OKLaboklab(54.48% 0.1023 -0.1943)
OKLCHoklch(54.48% 0.22 297.8)
XYZxyz(24.2822, 14.0065, 69.1205)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8343DC #9CDC43
analogous
#4350DC #8343DC #D043DC
triadic
#8343DC #DC8343 #43DC83
tetradic
#8343DC #DC4350 #9CDC43 #43DCD0
square
#8343DC #DC4350 #9CDC43 #43DCD0
split-complementary
#8343DC #DCD043 #50DC43
monochromatic
#491A8B #6423BE #8343DC #A577E6 #C7AAEF

Accessibility & contrast

On white

5.52
#8343DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8343DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8343DC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8343DC#FFFFFF#000000##FFFFFF
##8343DC1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E1
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#6D698B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8343dc;
/* rgb */ color: rgb(131, 67, 220);
/* oklch */ color: oklch(54.5% 0.220 297.8);
Tailwind
colors: {
  custom: {
    50: '#ae7ce8',
    500: '#8343dc',
    950: '#000000',
  },
}
SCSS
$custom: #8343dc;
$custom-light: #ae7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#8343dc",
  "rgb": {
    "r": 131,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 265.098,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54483,
    "c": 0.21957,
    "h": 297.8
  },
  "luminance": 0.14007
}

Semantic roles & 50–950 ramp

primary
#8343DC
secondary
#C3DD9E
accent
#EB3CA2
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8343DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8343DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva