#8245C5#8245C5

#8245C5 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.192 H 302.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8245C5
RGBrgb(130, 69, 197)
HSLhsl(269, 52%, 52%)
HSVhsv(269, 65%, 77%)
CMYKcmyk(34%, 65%, 0%, 22.7%)
CIE-LABlab(42.81, 50.72, -57.10)
CIE-LCHlch(42.81, 76.38, 311.61°)
OKLaboklab(52.91% 0.1019 -0.1622)
OKLCHoklch(52.91% 0.192 302.1)
XYZxyz(21.4097, 13.0332, 54.2002)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8245C5 #88C545
analogous
#4548C5 #8245C5 #C245C5
triadic
#8245C5 #C58245 #45C582
tetradic
#8245C5 #C54548 #88C545 #45C5C2
square
#8245C5 #C54548 #88C545 #45C5C2
split-complementary
#8245C5 #C5C245 #48C545
monochromatic
#46226D #64319C #8245C5 #A174D4 #C1A2E2

Accessibility & contrast

On white

5.82
#8245C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8245C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8245C5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8245C5#FFFFFF#000000##FFFFFF
##8245C51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#1265C2
Tritanopia (blue-blind)
#74617F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8245c5;
/* rgb */ color: rgb(130, 69, 197);
/* oklch */ color: oklch(52.9% 0.192 302.1);
Tailwind
colors: {
  custom: {
    50: '#ab7cd7',
    500: '#8245c5',
    950: '#000000',
  },
}
SCSS
$custom: #8245c5;
$custom-light: #ab7cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8245c5",
  "rgb": {
    "r": 130,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 268.594,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52909,
    "c": 0.19158,
    "h": 302.1
  },
  "luminance": 0.13033
}

Semantic roles & 50–950 ramp

primary
#8245C5
secondary
#B4CF97
accent
#DC4C97
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8245C5

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

Preview Lab → · Contrast checker → · Palette generator →

#8245C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva