#8343DB#8343DB

#8343DB is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.218 H 298.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8343DB
RGBrgb(131, 67, 219)
HSLhsl(265, 68%, 56%)
HSVhsv(265, 69%, 86%)
CMYKcmyk(40.2%, 69.4%, 0%, 14.1%)
CIE-LABlab(44.17, 57.35, -67.57)
CIE-LCHlch(44.17, 88.63, 310.32°)
OKLaboklab(54.41% 0.1024 -0.193)
OKLCHoklch(54.41% 0.218 298)
XYZxyz(24.1501, 13.9537, 68.4251)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8343DB #9BDB43
analogous
#434FDB #8343DB #CF43DB
triadic
#8343DB #DB8343 #43DB83
tetradic
#8343DB #DB434F #9BDB43 #43DBCF
square
#8343DB #DB434F #9BDB43 #43DBCF
split-complementary
#8343DB #DBCF43 #4FDB43
monochromatic
#491A89 #6424BD #8343DB #A576E5 #C7AAEF

Accessibility & contrast

On white

5.54
#8343DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8343DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8343DB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8343DB#FFFFFF#000000##FFFFFF
##8343DB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#6D688A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8343db;
/* rgb */ color: rgb(131, 67, 219);
/* oklch */ color: oklch(54.4% 0.218 298.0);
Tailwind
colors: {
  custom: {
    50: '#ae7ce7',
    500: '#8343db',
    950: '#000000',
  },
}
SCSS
$custom: #8343db;
$custom-light: #ae7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#8343db",
  "rgb": {
    "r": 131,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 265.263,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54405,
    "c": 0.21849,
    "h": 298
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#8343DB
secondary
#C2DC9E
accent
#EB3DA2
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8343DB

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

Preview Lab → · Contrast checker → · Palette generator →

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