#8A35BC#8A35BC

#8A35BC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.204 H 309.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A35BC
RGBrgb(138, 53, 188)
HSLhsl(278, 56%, 47%)
HSVhsv(278, 72%, 74%)
CMYKcmyk(26.6%, 71.8%, 0%, 26.3%)
CIE-LABlab(40.54, 57.74, -55.47)
CIE-LCHlch(40.54, 80.07, 316.15°)
OKLaboklab(51.31% 0.1308 -0.1571)
OKLCHoklch(51.31% 0.204 309.8)
XYZxyz(20.8296, 11.5807, 48.7052)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35BC #67BC35
analogous
#4735BC #8A35BC #BC35AB
triadic
#8A35BC #BC8A35 #35BC8A
tetradic
#8A35BC #BC4735 #67BC35 #35ABBC
square
#8A35BC #BC4735 #67BC35 #35ABBC
split-complementary
#8A35BC #ABBC35 #35BC47
monochromatic
#441A5D #67288C #8A35BC #A65DD1 #C08DDF

Accessibility & contrast

On white

6.33
#8A35BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A35BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35BC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35BC#FFFFFF#000000##FFFFFF
##8A35BC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#835375
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a35bc;
/* rgb */ color: rgb(138, 53, 188);
/* oklch */ color: oklch(51.3% 0.204 309.8);
Tailwind
colors: {
  custom: {
    50: '#b174d1',
    500: '#8a35bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a35bc;
$custom-light: #b174d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35bc",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 277.778,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.20442,
    "h": 309.8
  },
  "luminance": 0.1158
}

Semantic roles & 50–950 ramp

primary
#8A35BC
secondary
#9DC984
accent
#DF4880
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8A35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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