#8A35C1#8A35C1

#8A35C1 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.209 H 308.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A35C1
RGBrgb(138, 53, 193)
HSLhsl(276, 57%, 48%)
HSVhsv(276, 73%, 76%)
CMYKcmyk(28.5%, 72.5%, 0%, 24.3%)
CIE-LABlab(40.90, 58.83, -57.82)
CIE-LCHlch(40.90, 82.49, 315.49°)
OKLaboklab(51.67% 0.1301 -0.164)
OKLCHoklch(51.67% 0.209 308.4)
XYZxyz(21.3780, 11.8001, 51.5932)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35C1 #6CC135
analogous
#4435C1 #8A35C1 #C135B2
triadic
#8A35C1 #C18A35 #35C18A
tetradic
#8A35C1 #C14435 #6CC135 #35B2C1
square
#8A35C1 #C14435 #6CC135 #35B2C1
split-complementary
#8A35C1 #B2C135 #35C144
monochromatic
#451B61 #682891 #8A35C1 #A660D3 #C190E0

Accessibility & contrast

On white

6.25
#8A35C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8A35C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35C1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35C1#FFFFFF#000000##FFFFFF
##8A35C11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0861BE
Tritanopia (blue-blind)
#815578
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a35c1;
/* rgb */ color: rgb(138, 53, 193);
/* oklch */ color: oklch(51.7% 0.209 308.4);
Tailwind
colors: {
  custom: {
    50: '#b174d5',
    500: '#8a35c1',
    950: '#000000',
  },
}
SCSS
$custom: #8a35c1;
$custom-light: #b174d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35c1",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 276.429,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.20931,
    "h": 308.4
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#8A35C1
secondary
#A2CB87
accent
#E04884
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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