#8345CA#8345CA

#8345CA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.4% C 0.197 H 301.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8345CA
RGBrgb(131, 69, 202)
HSLhsl(268, 56%, 53%)
HSVhsv(268, 66%, 79%)
CMYKcmyk(35.1%, 65.8%, 0%, 20.8%)
CIE-LABlab(43.28, 52.16, -59.24)
CIE-LCHlch(43.28, 78.93, 311.36°)
OKLaboklab(53.38% 0.1027 -0.1685)
OKLCHoklch(53.38% 0.197 301.4)
XYZxyz(22.1463, 13.3457, 57.2749)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345CA #8CCA45
analogous
#4549CA #8345CA #C645CA
triadic
#8345CA #CA8345 #45CA83
tetradic
#8345CA #CA4549 #8CCA45 #45CAC6
square
#8345CA #CA4549 #8CCA45 #45CAC6
split-complementary
#8345CA #CAC645 #49CA45
monochromatic
#482174 #652FA3 #8345CA #A375D8 #C3A4E5

Accessibility & contrast

On white

5.72
#8345CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8345CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345CA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345CA#FFFFFF#000000##FFFFFF
##8345CA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0066C7
Tritanopia (blue-blind)
#746382
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8345ca;
/* rgb */ color: rgb(131, 69, 202);
/* oklch */ color: oklch(53.4% 0.197 301.4);
Tailwind
colors: {
  custom: {
    50: '#ac7ddb',
    500: '#8345ca',
    950: '#000000',
  },
}
SCSS
$custom: #8345ca;
$custom-light: #ac7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8345ca",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 267.97,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53381,
    "c": 0.19734,
    "h": 301.4
  },
  "luminance": 0.13346
}

Semantic roles & 50–950 ramp

primary
#8345CA
secondary
#B7D299
accent
#DF4999
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8345CA

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

Preview Lab → · Contrast checker → · Palette generator →

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