#8538D2#8538D2

#8538D2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.222 H 301.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8538D2
RGBrgb(133, 56, 210)
HSLhsl(270, 63%, 52%)
HSVhsv(270, 73%, 82%)
CMYKcmyk(36.7%, 73.3%, 0%, 17.6%)
CIE-LABlab(41.95, 60.51, -66.01)
CIE-LCHlch(41.95, 89.55, 312.51°)
OKLaboklab(52.67% 0.1173 -0.1882)
OKLCHoklch(52.67% 0.222 301.9)
XYZxyz(22.7171, 12.4679, 62.1700)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538D2 #85D238
analogous
#3838D2 #8538D2 #D238D2
triadic
#8538D2 #D28538 #38D285
tetradic
#8538D2 #D23838 #85D238 #38D2D2
square
#8538D2 #D23838 #85D238 #38D2D2
split-complementary
#8538D2 #D2D238 #38D238
monochromatic
#481A75 #6626A7 #8538D2 #A46ADD #C29CE9

Accessibility & contrast

On white

6.01
#8538D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8538D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538D2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538D2#FFFFFF#000000##FFFFFF
##8538D21.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#745F82
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8538d2;
/* rgb */ color: rgb(133, 56, 210);
/* oklch */ color: oklch(52.7% 0.222 301.9);
Tailwind
colors: {
  custom: {
    50: '#af76e1',
    500: '#8538d2',
    950: '#000000',
  },
}
SCSS
$custom: #8538d2;
$custom-light: #af76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8538d2",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 210
  },
  "hsl": {
    "h": 270,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.22178,
    "h": 301.9
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#8538D2
secondary
#B3D591
accent
#E64294
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8538D2

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

Preview Lab → · Contrast checker → · Palette generator →

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