#8A35C7#8A35C7

#8A35C7 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.215 H 306.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A35C7
RGBrgb(138, 53, 199)
HSLhsl(275, 58%, 49%)
HSVhsv(275, 73%, 78%)
CMYKcmyk(30.7%, 73.4%, 0%, 22%)
CIE-LABlab(41.33, 60.16, -60.62)
CIE-LCHlch(41.33, 85.40, 314.78°)
OKLaboklab(52.12% 0.129 -0.1722)
OKLCHoklch(52.12% 0.215 306.8)
XYZxyz(22.0609, 12.0733, 55.1899)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35C7 #72C735
analogous
#4135C7 #8A35C7 #C735BB
triadic
#8A35C7 #C78A35 #35C78A
tetradic
#8A35C7 #C74135 #72C735 #35BBC7
square
#8A35C7 #C74135 #72C735 #35BBC7
split-complementary
#8A35C7 #BBC735 #35C741
monochromatic
#471B66 #682897 #8A35C7 #A664D6 #C294E2

Accessibility & contrast

On white

6.15
#8A35C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8A35C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35C7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35C7#FFFFFF#000000##FFFFFF
##8A35C71.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#80587B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a35c7;
/* rgb */ color: rgb(138, 53, 199);
/* oklch */ color: oklch(52.1% 0.215 306.8);
Tailwind
colors: {
  custom: {
    50: '#b174d9',
    500: '#8a35c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a35c7;
$custom-light: #b174d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35c7",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 274.932,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52116,
    "c": 0.21518,
    "h": 306.8
  },
  "luminance": 0.12073
}

Semantic roles & 50–950 ramp

primary
#8A35C7
secondary
#A6CE8A
accent
#E14787
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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