#8A35BB#8A35BB

#8A35BB is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.203 H 310.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8A35BB
RGBrgb(138, 53, 187)
HSLhsl(278, 56%, 47%)
HSVhsv(278, 72%, 73%)
CMYKcmyk(26.2%, 71.7%, 0%, 26.7%)
CIE-LABlab(40.47, 57.52, -55.00)
CIE-LCHlch(40.47, 79.58, 316.28°)
OKLaboklab(51.24% 0.131 -0.1557)
OKLCHoklch(51.24% 0.203 310.1)
XYZxyz(20.7222, 11.5378, 48.1395)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35BB #66BB35
analogous
#4735BB #8A35BB #BB35A9
triadic
#8A35BB #BB8A35 #35BB8A
tetradic
#8A35BB #BB4735 #66BB35 #35A9BB
square
#8A35BB #BB4735 #66BB35 #35A9BB
split-complementary
#8A35BB #A9BB35 #35BB47
monochromatic
#441A5C #67278B #8A35BB #A65CD1 #C08CDE

Accessibility & contrast

On white

6.35
#8A35BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8A35BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35BB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35BB#FFFFFF#000000##FFFFFF
##8A35BB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#1B61B8
Tritanopia (blue-blind)
#835375
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a35bb;
/* rgb */ color: rgb(138, 53, 187);
/* oklch */ color: oklch(51.2% 0.203 310.1);
Tailwind
colors: {
  custom: {
    50: '#b174d0',
    500: '#8a35bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a35bb;
$custom-light: #b174d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35bb",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 278.06,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.20345,
    "h": 310.1
  },
  "luminance": 0.11537
}

Semantic roles & 50–950 ramp

primary
#8A35BB
secondary
#9DC983
accent
#DF4980
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8A35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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