#8245BB#8245BB

#8245BB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.180 H 304.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8245BB
RGBrgb(130, 69, 187)
HSLhsl(271, 46%, 50%)
HSVhsv(271, 63%, 73%)
CMYKcmyk(30.5%, 63.1%, 0%, 26.7%)
CIE-LABlab(42.14, 48.28, -52.36)
CIE-LCHlch(42.14, 71.22, 312.68°)
OKLaboklab(52.21% 0.1026 -0.1483)
OKLCHoklch(52.21% 0.18 304.7)
XYZxyz(20.3017, 12.5900, 48.3647)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8245BB #7EBB45
analogous
#4745BB #8245BB #BB45B9
triadic
#8245BB #BB8245 #45BB82
tetradic
#8245BB #BB4745 #7EBB45 #45B9BB
square
#8245BB #BB4745 #7EBB45 #45B9BB
split-complementary
#8245BB #B9BB45 #45BB47
monochromatic
#442462 #63348F #8245BB #A072CB #BE9FDC

Accessibility & contrast

On white

5.97
#8245BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8245BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8245BB#FFFFFF#000000##FFFFFF
##8245BB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#2764B8
Tritanopia (blue-blind)
#785E7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8245bb;
/* rgb */ color: rgb(130, 69, 187);
/* oklch */ color: oklch(52.2% 0.180 304.7);
Tailwind
colors: {
  custom: {
    50: '#aa7cd0',
    500: '#8245bb',
    950: '#000000',
  },
}
SCSS
$custom: #8245bb;
$custom-light: #aa7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8245bb",
  "rgb": {
    "r": 130,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 271.017,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52207,
    "c": 0.18035,
    "h": 304.7
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#8245BB
secondary
#ADC894
accent
#D65292
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8245BB

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

Preview Lab → · Contrast checker → · Palette generator →

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