#8347DB#8347DB

#8347DB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.214 H 297.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8347DB
RGBrgb(131, 71, 219)
HSLhsl(264, 67%, 57%)
HSVhsv(264, 68%, 86%)
CMYKcmyk(40.2%, 67.6%, 0%, 14.1%)
CIE-LABlab(44.87, 55.41, -66.44)
CIE-LCHlch(44.87, 86.51, 309.83°)
OKLaboklab(54.9% 0.0985 -0.1897)
OKLCHoklch(54.9% 0.214 297.4)
XYZxyz(24.3962, 14.4458, 68.5071)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8347DB #9FDB47
analogous
#4755DB #8347DB #CD47DB
triadic
#8347DB #DB8347 #47DB83
tetradic
#8347DB #DB4755 #9FDB47 #47DBCD
square
#8347DB #DB4755 #9FDB47 #47DBCD
split-complementary
#8347DB #DBCD47 #55DB47
monochromatic
#491B8C #6425BF #8347DB #A57AE5 #C8ADEF

Accessibility & contrast

On white

5.40
#8347DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8347DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8347DB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8347DB#FFFFFF#000000##FFFFFF
##8347DB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#6D6A8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8347db;
/* rgb */ color: rgb(131, 71, 219);
/* oklch */ color: oklch(54.9% 0.214 297.4);
Tailwind
colors: {
  custom: {
    50: '#ae7ee7',
    500: '#8347db',
    950: '#000000',
  },
}
SCSS
$custom: #8347db;
$custom-light: #ae7ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8347db",
  "rgb": {
    "r": 131,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 264.324,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54904,
    "c": 0.2137,
    "h": 297.4
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#8347DB
secondary
#C5DDA1
accent
#EA3EA4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8347DB

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

Preview Lab → · Contrast checker → · Palette generator →

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