#8A35C5#8A35C5

#8A35C5 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.213 H 307.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A35C5
RGBrgb(138, 53, 197)
HSLhsl(275, 58%, 49%)
HSVhsv(275, 73%, 77%)
CMYKcmyk(29.9%, 73.1%, 0%, 22.7%)
CIE-LABlab(41.19, 59.71, -59.69)
CIE-LCHlch(41.19, 84.43, 315.01°)
OKLaboklab(51.97% 0.1294 -0.1695)
OKLCHoklch(51.97% 0.213 307.4)
XYZxyz(21.8302, 11.9810, 53.9750)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35C5 #70C535
analogous
#4235C5 #8A35C5 #C535B8
triadic
#8A35C5 #C58A35 #35C58A
tetradic
#8A35C5 #C54235 #70C535 #35B8C5
square
#8A35C5 #C54235 #70C535 #35B8C5
split-complementary
#8A35C5 #B8C535 #35C542
monochromatic
#461B65 #682895 #8A35C5 #A662D5 #C193E2

Accessibility & contrast

On white

6.18
#8A35C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A35C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35C5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35C5#FFFFFF#000000##FFFFFF
##8A35C51.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#80577A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a35c5;
/* rgb */ color: rgb(138, 53, 197);
/* oklch */ color: oklch(52.0% 0.213 307.4);
Tailwind
colors: {
  custom: {
    50: '#b174d7',
    500: '#8a35c5',
    950: '#000000',
  },
}
SCSS
$custom: #8a35c5;
$custom-light: #b174d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35c5",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 275.417,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51967,
    "c": 0.21322,
    "h": 307.4
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#8A35C5
secondary
#A5CD89
accent
#E14786
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A35C5

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

Preview Lab → · Contrast checker → · Palette generator →

#8A35C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva