#8045AF#8045AF

#8045AF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.166 H 307.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8045AF
RGBrgb(128, 69, 175)
HSLhsl(273, 43%, 48%)
HSVhsv(273, 61%, 69%)
CMYKcmyk(26.9%, 60.6%, 0%, 31.4%)
CIE-LABlab(41.12, 44.94, -46.95)
CIE-LCHlch(41.12, 64.99, 313.75°)
OKLaboklab(51.17% 0.1004 -0.1325)
OKLCHoklch(51.17% 0.166 307.2)
XYZxyz(18.7665, 11.9408, 41.8653)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045AF #74AF45
analogous
#4B45AF #8045AF #AF45A9
triadic
#8045AF #AF8045 #45AF80
tetradic
#8045AF #AF4B45 #74AF45 #45A9AF
square
#8045AF #AF4B45 #74AF45 #45A9AF
split-complementary
#8045AF #A9AF45 #45AF4B
monochromatic
#402257 #603483 #8045AF #9E6CC5 #BB98D6

Accessibility & contrast

On white

6.20
#8045AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8045AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045AF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045AF#FFFFFF#000000##FFFFFF
##8045AF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB2
Deuteranopia (green-blind)
#3361AD
Tritanopia (blue-blind)
#795A73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8045af;
/* rgb */ color: rgb(128, 69, 175);
/* oklch */ color: oklch(51.2% 0.166 307.2);
Tailwind
colors: {
  custom: {
    50: '#a87cc7',
    500: '#8045af',
    950: '#000000',
  },
}
SCSS
$custom: #8045af;
$custom-light: #a87cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8045af",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 273.396,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51168,
    "c": 0.16622,
    "h": 307.2
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#8045AF
secondary
#A5C28D
accent
#D3558D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8045AF

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

Preview Lab → · Contrast checker → · Palette generator →

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