#8538B3#8538B3

#8538B3 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.190 H 310.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8538B3
RGBrgb(133, 56, 179)
HSLhsl(278, 52%, 46%)
HSVhsv(278, 69%, 70%)
CMYKcmyk(25.7%, 68.7%, 0%, 29.8%)
CIE-LABlab(39.70, 53.41, -51.57)
CIE-LCHlch(39.70, 74.24, 316.01°)
OKLaboklab(50.36% 0.1222 -0.1458)
OKLCHoklch(50.36% 0.19 310)
XYZxyz(19.2221, 11.0700, 43.7632)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538B3 #66B338
analogous
#4738B3 #8538B3 #B338A3
triadic
#8538B3 #B38538 #38B385
tetradic
#8538B3 #B34738 #66B338 #38A3B3
square
#8538B3 #B34738 #66B338 #38A3B3
split-complementary
#8538B3 #A3B338 #38B347
monochromatic
#401B56 #622984 #8538B3 #A25CCC #BD8BDB

Accessibility & contrast

On white

6.53
#8538B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8538B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538B3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538B3#FFFFFF#000000##FFFFFF
##8538B31.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#245FB0
Tritanopia (blue-blind)
#7F5271
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8538b3;
/* rgb */ color: rgb(133, 56, 179);
/* oklch */ color: oklch(50.4% 0.190 310.0);
Tailwind
colors: {
  custom: {
    50: '#ad75ca',
    500: '#8538b3',
    950: '#000000',
  },
}
SCSS
$custom: #8538b3;
$custom-light: #ad75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8538b3",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 277.561,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50363,
    "c": 0.19023,
    "h": 310
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#8538B3
secondary
#9BC582
accent
#DC4C82
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8538B3

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

Preview Lab → · Contrast checker → · Palette generator →

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