#8345CC#8345CC

#8345CC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.5% C 0.200 H 300.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8345CC
RGBrgb(131, 69, 204)
HSLhsl(268, 57%, 54%)
HSVhsv(268, 66%, 80%)
CMYKcmyk(35.8%, 66.2%, 0%, 20%)
CIE-LABlab(43.42, 52.65, -60.17)
CIE-LCHlch(43.42, 79.95, 311.19°)
OKLaboklab(53.53% 0.1025 -0.1712)
OKLCHoklch(53.53% 0.2 300.9)
XYZxyz(22.3846, 13.4410, 58.5301)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345CC #8ECC45
analogous
#454ACC #8345CC #C745CC
triadic
#8345CC #CC8345 #45CC83
tetradic
#8345CC #CC454A #8ECC45 #45CCC7
square
#8345CC #CC454A #8ECC45 #45CCC7
split-complementary
#8345CC #CCC745 #4ACC45
monochromatic
#482076 #652EA6 #8345CC #A375D9 #C3A5E6

Accessibility & contrast

On white

5.69
#8345CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8345CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345CC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345CC#FFFFFF#000000##FFFFFF
##8345CC1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#736483
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8345cc;
/* rgb */ color: rgb(131, 69, 204);
/* oklch */ color: oklch(53.5% 0.200 300.9);
Tailwind
colors: {
  custom: {
    50: '#ac7ddc',
    500: '#8345cc',
    950: '#000000',
  },
}
SCSS
$custom: #8345cc;
$custom-light: #ac7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8345cc",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 267.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53526,
    "c": 0.19957,
    "h": 300.9
  },
  "luminance": 0.13441
}

Semantic roles & 50–950 ramp

primary
#8345CC
secondary
#B9D399
accent
#E0489A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8345CC

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

Preview Lab → · Contrast checker → · Palette generator →

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