#8538CA#8538CA

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

Color values

HEX#8538CA
RGBrgb(133, 56, 202)
HSLhsl(272, 58%, 51%)
HSVhsv(272, 72%, 79%)
CMYKcmyk(34.2%, 72.3%, 0%, 20.8%)
CIE-LABlab(41.34, 58.64, -62.37)
CIE-LCHlch(41.34, 85.61, 313.23°)
OKLaboklab(52.05% 0.1188 -0.1776)
OKLCHoklch(52.05% 0.214 303.8)
XYZxyz(21.7452, 12.0792, 57.0516)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538CA #7DCA38
analogous
#3C38CA #8538CA #CA38C6
triadic
#8538CA #CA8538 #38CA85
tetradic
#8538CA #CA3C38 #7DCA38 #38C6CA
square
#8538CA #CA3C38 #7DCA38 #38C6CA
split-complementary
#8538CA #C6CA38 #38CA3C
monochromatic
#461D6B #66299B #8538CA #A368D7 #C099E4

Accessibility & contrast

On white

6.15
#8538CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8538CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538CA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538CA#FFFFFF#000000##FFFFFF
##8538CA1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#775B7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8538ca;
/* rgb */ color: rgb(133, 56, 202);
/* oklch */ color: oklch(52.1% 0.214 303.8);
Tailwind
colors: {
  custom: {
    50: '#ae75db',
    500: '#8538ca',
    950: '#000000',
  },
}
SCSS
$custom: #8538ca;
$custom-light: #ae75db;
$custom-dark: #000000;
JSON
{
  "hex": "#8538ca",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 271.644,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52052,
    "c": 0.21366,
    "h": 303.8
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#8538CA
secondary
#ADCF8E
accent
#E14790
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8538CA

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

Preview Lab → · Contrast checker → · Palette generator →

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