#8538C2#8538C2

#8538C2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.206 H 305.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8538C2
RGBrgb(133, 56, 194)
HSLhsl(273, 55%, 49%)
HSVhsv(273, 71%, 76%)
CMYKcmyk(31.4%, 71.1%, 0%, 23.9%)
CIE-LABlab(40.75, 56.80, -58.68)
CIE-LCHlch(40.75, 81.66, 314.07°)
OKLaboklab(51.45% 0.1202 -0.1667)
OKLCHoklch(51.45% 0.206 305.8)
XYZxyz(20.8225, 11.7101, 52.1918)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538C2 #75C238
analogous
#4038C2 #8538C2 #C238BA
triadic
#8538C2 #C28538 #38C285
tetradic
#8538C2 #C24038 #75C238 #38BAC2
square
#8538C2 #C24038 #75C238 #38BAC2
split-complementary
#8538C2 #BAC238 #38C240
monochromatic
#441D63 #642A93 #8538C2 #A265D2 #BF94E0

Accessibility & contrast

On white

6.28
#8538C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8538C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538C2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538C2#FFFFFF#000000##FFFFFF
##8538C21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#7A5879
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8538c2;
/* rgb */ color: rgb(133, 56, 194);
/* oklch */ color: oklch(51.4% 0.206 305.8);
Tailwind
colors: {
  custom: {
    50: '#ae75d5',
    500: '#8538c2',
    950: '#000000',
  },
}
SCSS
$custom: #8538c2;
$custom-light: #ae75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8538c2",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 273.478,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51448,
    "c": 0.20552,
    "h": 305.8
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#8538C2
secondary
#A7CB8A
accent
#DF498B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8538C2

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

Preview Lab → · Contrast checker → · Palette generator →

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