#8345DB#8345DB

#8345DB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.216 H 297.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8345DB
RGBrgb(131, 69, 219)
HSLhsl(265, 68%, 56%)
HSVhsv(265, 68%, 86%)
CMYKcmyk(40.2%, 68.5%, 0%, 14.1%)
CIE-LABlab(44.51, 56.39, -67.01)
CIE-LCHlch(44.51, 87.58, 310.08°)
OKLaboklab(54.65% 0.1005 -0.1913)
OKLCHoklch(54.65% 0.216 297.7)
XYZxyz(24.2711, 14.1956, 68.4654)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345DB #9DDB45
analogous
#4552DB #8345DB #CE45DB
triadic
#8345DB #DB8345 #45DB83
tetradic
#8345DB #DB4552 #9DDB45 #45DBCE
square
#8345DB #DB4552 #9DDB45 #45DBCE
split-complementary
#8345DB #DBCE45 #52DB45
monochromatic
#491B8B #6425BE #8345DB #A578E5 #C7ACEF

Accessibility & contrast

On white

5.47
#8345DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8345DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345DB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345DB#FFFFFF#000000##FFFFFF
##8345DB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#6D698B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8345db;
/* rgb */ color: rgb(131, 69, 219);
/* oklch */ color: oklch(54.7% 0.216 297.7);
Tailwind
colors: {
  custom: {
    50: '#ae7de7',
    500: '#8345db',
    950: '#000000',
  },
}
SCSS
$custom: #8345db;
$custom-light: #ae7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8345db",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 264.8,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54652,
    "c": 0.21612,
    "h": 297.7
  },
  "luminance": 0.14196
}

Semantic roles & 50–950 ramp

primary
#8345DB
secondary
#C3DD9F
accent
#EA3DA3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8345DB

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

Preview Lab → · Contrast checker → · Palette generator →

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