#8035A2#8035A2

#8035A2 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.175 H 313.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8035A2
RGBrgb(128, 53, 162)
HSLhsl(281, 51%, 42%)
HSVhsv(281, 67%, 64%)
CMYKcmyk(21%, 67.3%, 0%, 36.5%)
CIE-LABlab(37.38, 49.94, -45.20)
CIE-LCHlch(37.38, 67.35, 317.85°)
OKLaboklab(48.2% 0.1204 -0.1273)
OKLCHoklch(48.2% 0.175 313.4)
XYZxyz(16.6957, 9.7445, 35.1768)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8035A2 #57A235
analogous
#4935A2 #8035A2 #A2358E
triadic
#8035A2 #A28035 #35A280
tetradic
#8035A2 #A24935 #57A235 #358EA2
square
#8035A2 #A24935 #57A235 #358EA2
split-complementary
#8035A2 #8EA235 #35A249
monochromatic
#371746 #5C2674 #8035A2 #A04FC5 #B97DD4

Accessibility & contrast

On white

7.12
#8035A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8035A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8035A2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8035A2#FFFFFF#000000##FFFFFF
##8035A21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#2E5A9F
Tritanopia (blue-blind)
#7D4B67
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8035a2;
/* rgb */ color: rgb(128, 53, 162);
/* oklch */ color: oklch(48.2% 0.175 313.4);
Tailwind
colors: {
  custom: {
    50: '#a872be',
    500: '#8035a2',
    950: '#000000',
  },
}
SCSS
$custom: #8035a2;
$custom-light: #a872be;
$custom-dark: #000000;
JSON
{
  "hex": "#8035a2",
  "rgb": {
    "r": 128,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 281.284,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.17521,
    "h": 313.4
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#8035A2
secondary
#8CBD75
accent
#DA4E79
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8035A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8035A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva