#8245AF#8245AF

#8245AF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.167 H 308.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8245AF
RGBrgb(130, 69, 175)
HSLhsl(275, 43%, 48%)
HSVhsv(275, 61%, 69%)
CMYKcmyk(25.7%, 60.6%, 0%, 31.4%)
CIE-LABlab(41.37, 45.43, -46.53)
CIE-LCHlch(41.37, 65.03, 314.31°)
OKLaboklab(51.4% 0.103 -0.1312)
OKLCHoklch(51.4% 0.167 308.1)
XYZxyz(19.0703, 12.0975, 41.8795)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8245AF #72AF45
analogous
#4D45AF #8245AF #AF45A7
triadic
#8245AF #AF8245 #45AF82
tetradic
#8245AF #AF4D45 #72AF45 #45A7AF
square
#8245AF #AF4D45 #72AF45 #45A7AF
split-complementary
#8245AF #A7AF45 #45AF4D
monochromatic
#412257 #613483 #8245AF #9F6CC5 #BC98D6

Accessibility & contrast

On white

6.14
#8245AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8245AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8245AF#FFFFFF#000000##FFFFFF
##8245AF1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#3562AD
Tritanopia (blue-blind)
#7B5A73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8245af;
/* rgb */ color: rgb(130, 69, 175);
/* oklch */ color: oklch(51.4% 0.167 308.1);
Tailwind
colors: {
  custom: {
    50: '#a97cc7',
    500: '#8245af',
    950: '#000000',
  },
}
SCSS
$custom: #8245af;
$custom-light: #a97cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8245af",
  "rgb": {
    "r": 130,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 274.528,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51403,
    "c": 0.16683,
    "h": 308.1
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

primary
#8245AF
secondary
#A4C28D
accent
#D3558A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8245AF

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

Preview Lab → · Contrast checker → · Palette generator →

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