#8245AA#8245AA

#8245AA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.161 H 309.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8245AA
RGBrgb(130, 69, 170)
HSLhsl(276, 42%, 47%)
HSVhsv(276, 59%, 67%)
CMYKcmyk(23.5%, 59.4%, 0%, 33.3%)
CIE-LABlab(41.06, 44.26, -44.06)
CIE-LCHlch(41.06, 62.45, 315.13°)
OKLaboklab(51.08% 0.103 -0.124)
OKLCHoklch(51.08% 0.161 309.7)
XYZxyz(18.5883, 11.9047, 39.3410)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8245AA #6DAA45
analogous
#5045AA #8245AA #AA459F
triadic
#8245AA #AA8245 #45AA82
tetradic
#8245AA #AA5045 #6DAA45 #459FAA
square
#8245AA #AA5045 #6DAA45 #459FAA
split-complementary
#8245AA #9FAA45 #45AA50
monochromatic
#3F2253 #61337E #8245AA #9F6AC2 #BB95D4

Accessibility & contrast

On white

6.21
#8245AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8245AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8245AA#FFFFFF#000000##FFFFFF
##8245AA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#3962A8
Tritanopia (blue-blind)
#7D5871
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8245aa;
/* rgb */ color: rgb(130, 69, 170);
/* oklch */ color: oklch(51.1% 0.161 309.7);
Tailwind
colors: {
  custom: {
    50: '#a97cc4',
    500: '#8245aa',
    950: '#000000',
  },
}
SCSS
$custom: #8245aa;
$custom-light: #a97cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8245aa",
  "rgb": {
    "r": 130,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 276.238,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.16119,
    "h": 309.7
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#8245AA
secondary
#A0C08B
accent
#D25687
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8245AA

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

Preview Lab → · Contrast checker → · Palette generator →

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