#8538C3#8538C3

#8538C3 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.207 H 305.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8538C3
RGBrgb(133, 56, 195)
HSLhsl(273, 55%, 49%)
HSVhsv(273, 71%, 76%)
CMYKcmyk(31.8%, 71.3%, 0%, 23.5%)
CIE-LABlab(40.82, 57.03, -59.14)
CIE-LCHlch(40.82, 82.16, 313.96°)
OKLaboklab(51.52% 0.12 -0.1681)
OKLCHoklch(51.52% 0.207 305.5)
XYZxyz(20.9352, 11.7552, 52.7853)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538C3 #76C338
analogous
#3F38C3 #8538C3 #C338BC
triadic
#8538C3 #C38538 #38C385
tetradic
#8538C3 #C33F38 #76C338 #38BCC3
square
#8538C3 #C33F38 #76C338 #38BCC3
split-complementary
#8538C3 #BCC338 #38C33F
monochromatic
#441D64 #652A93 #8538C3 #A265D3 #BF95E1

Accessibility & contrast

On white

6.27
#8538C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8538C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538C3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538C3#FFFFFF#000000##FFFFFF
##8538C31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#7A597A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8538c3;
/* rgb */ color: rgb(133, 56, 195);
/* oklch */ color: oklch(51.5% 0.207 305.5);
Tailwind
colors: {
  custom: {
    50: '#ae75d6',
    500: '#8538c3',
    950: '#000000',
  },
}
SCSS
$custom: #8538c3;
$custom-light: #ae75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8538c3",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 273.237,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.20654,
    "h": 305.5
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#8538C3
secondary
#A8CC8B
accent
#DF498C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8538C3

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

Preview Lab → · Contrast checker → · Palette generator →

#8538C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva