#8345CB#8345CB

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

Color values

HEX#8345CB
RGBrgb(131, 69, 203)
HSLhsl(268, 56%, 53%)
HSVhsv(268, 66%, 80%)
CMYKcmyk(35.5%, 66%, 0%, 20.4%)
CIE-LABlab(43.35, 52.41, -59.71)
CIE-LCHlch(43.35, 79.44, 311.27°)
OKLaboklab(53.45% 0.1026 -0.1699)
OKLCHoklch(53.45% 0.198 301.1)
XYZxyz(22.2651, 13.3932, 57.9005)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345CB #8DCB45
analogous
#454ACB #8345CB #C645CB
triadic
#8345CB #CB8345 #45CB83
tetradic
#8345CB #CB454A #8DCB45 #45CBC6
square
#8345CB #CB454A #8DCB45 #45CBC6
split-complementary
#8345CB #CBC645 #4ACB45
monochromatic
#482175 #652EA5 #8345CB #A375D8 #C3A5E6

Accessibility & contrast

On white

5.71
#8345CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8345CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345CB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345CB#FFFFFF#000000##FFFFFF
##8345CB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#746382
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8345cb;
/* rgb */ color: rgb(131, 69, 203);
/* oklch */ color: oklch(53.5% 0.198 301.1);
Tailwind
colors: {
  custom: {
    50: '#ac7ddc',
    500: '#8345cb',
    950: '#000000',
  },
}
SCSS
$custom: #8345cb;
$custom-light: #ac7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8345cb",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 267.761,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.19846,
    "h": 301.1
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8345CB

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

Preview Lab → · Contrast checker → · Palette generator →

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