#8345CD#8345CD

#8345CD is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.201 H 300.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8345CD
RGBrgb(131, 69, 205)
HSLhsl(267, 58%, 54%)
HSVhsv(267, 66%, 80%)
CMYKcmyk(36.1%, 66.3%, 0%, 19.6%)
CIE-LABlab(43.49, 52.90, -60.63)
CIE-LCHlch(43.49, 80.46, 311.10°)
OKLaboklab(53.6% 0.1024 -0.1726)
OKLCHoklch(53.6% 0.201 300.7)
XYZxyz(22.5050, 13.4892, 59.1638)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345CD #8FCD45
analogous
#454BCD #8345CD #C745CD
triadic
#8345CD #CD8345 #45CD83
tetradic
#8345CD #CD454B #8FCD45 #45CDC7
square
#8345CD #CD454B #8FCD45 #45CDC7
split-complementary
#8345CD #CDC745 #4BCD45
monochromatic
#482077 #652DA8 #8345CD #A375DA #C3A5E7

Accessibility & contrast

On white

5.68
#8345CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8345CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345CD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345CD#FFFFFF#000000##FFFFFF
##8345CD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8345cd;
/* rgb */ color: rgb(131, 69, 205);
/* oklch */ color: oklch(53.6% 0.201 300.7);
Tailwind
colors: {
  custom: {
    50: '#ac7ddd',
    500: '#8345cd',
    950: '#000000',
  },
}
SCSS
$custom: #8345cd;
$custom-light: #ac7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8345cd",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 267.353,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.536,
    "c": 0.20067,
    "h": 300.7
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#8345CD
secondary
#B9D49A
accent
#E1479B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8345CD

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

Preview Lab → · Contrast checker → · Palette generator →

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