#8245BD#8245BD

#8245BD is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.183 H 304.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8245BD
RGBrgb(130, 69, 189)
HSLhsl(271, 48%, 51%)
HSVhsv(271, 63%, 74%)
CMYKcmyk(31.2%, 63.5%, 0%, 25.9%)
CIE-LABlab(42.27, 48.77, -53.32)
CIE-LCHlch(42.27, 72.26, 312.45°)
OKLaboklab(52.35% 0.1025 -0.1511)
OKLCHoklch(52.35% 0.183 304.2)
XYZxyz(20.5173, 12.6763, 49.5001)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8245BD #80BD45
analogous
#4645BD #8245BD #BD45BC
triadic
#8245BD #BD8245 #45BD82
tetradic
#8245BD #BD4645 #80BD45 #45BCBD
square
#8245BD #BD4645 #80BD45 #45BCBD
split-complementary
#8245BD #BCBD45 #45BD46
monochromatic
#442464 #633491 #8245BD #A072CD #BF9FDD

Accessibility & contrast

On white

5.94
#8245BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8245BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8245BD#FFFFFF#000000##FFFFFF
##8245BD1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#2364BA
Tritanopia (blue-blind)
#775E7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8245bd;
/* rgb */ color: rgb(130, 69, 189);
/* oklch */ color: oklch(52.3% 0.183 304.2);
Tailwind
colors: {
  custom: {
    50: '#aa7cd2',
    500: '#8245bd',
    950: '#000000',
  },
}
SCSS
$custom: #8245bd;
$custom-light: #aa7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8245bd",
  "rgb": {
    "r": 130,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 270.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52345,
    "c": 0.1826,
    "h": 304.2
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#8245BD
secondary
#AECA94
accent
#D75193
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8245BD

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

Preview Lab → · Contrast checker → · Palette generator →

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