#8538C8#8538C8

#8538C8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.212 H 304.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8538C8
RGBrgb(133, 56, 200)
HSLhsl(272, 57%, 50%)
HSVhsv(272, 72%, 78%)
CMYKcmyk(33.5%, 72%, 0%, 21.6%)
CIE-LABlab(41.19, 58.18, -61.45)
CIE-LCHlch(41.19, 84.63, 313.43°)
OKLaboklab(51.9% 0.1192 -0.1749)
OKLCHoklch(51.9% 0.212 304.3)
XYZxyz(21.5100, 11.9851, 55.8125)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538C8 #7BC838
analogous
#3D38C8 #8538C8 #C838C3
triadic
#8538C8 #C88538 #38C885
tetradic
#8538C8 #C83D38 #7BC838 #38C3C8
square
#8538C8 #C83D38 #7BC838 #38C3C8
split-complementary
#8538C8 #C3C838 #38C83D
monochromatic
#451D69 #652A99 #8538C8 #A268D5 #C098E3

Accessibility & contrast

On white

6.18
#8538C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8538C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538C8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538C8#FFFFFF#000000##FFFFFF
##8538C81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#785B7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8538c8;
/* rgb */ color: rgb(133, 56, 200);
/* oklch */ color: oklch(51.9% 0.212 304.3);
Tailwind
colors: {
  custom: {
    50: '#ae75da',
    500: '#8538c8',
    950: '#000000',
  },
}
SCSS
$custom: #8538c8;
$custom-light: #ae75da;
$custom-dark: #000000;
JSON
{
  "hex": "#8538c8",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 272.083,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.21163,
    "h": 304.3
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#8538C8
secondary
#ACCE8E
accent
#E0488F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8538C8

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

Preview Lab → · Contrast checker → · Palette generator →

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