#8538B2#8538B2

#8538B2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.189 H 310.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8538B2
RGBrgb(133, 56, 178)
HSLhsl(278, 52%, 46%)
HSVhsv(278, 69%, 70%)
CMYKcmyk(25.3%, 68.5%, 0%, 30.2%)
CIE-LABlab(39.63, 53.19, -51.08)
CIE-LCHlch(39.63, 73.75, 316.16°)
OKLaboklab(50.29% 0.1223 -0.1444)
OKLCHoklch(50.29% 0.189 310.3)
XYZxyz(19.1214, 11.0297, 43.2325)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538B2 #65B238
analogous
#4838B2 #8538B2 #B238A2
triadic
#8538B2 #B28538 #38B285
tetradic
#8538B2 #B24838 #65B238 #38A2B2
square
#8538B2 #B24838 #65B238 #38A2B2
split-complementary
#8538B2 #A2B238 #38B248
monochromatic
#3F1B55 #622983 #8538B2 #A25CCC #BD8ADA

Accessibility & contrast

On white

6.55
#8538B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8538B2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538B2#FFFFFF#000000##FFFFFF
##8538B21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#255FAF
Tritanopia (blue-blind)
#7F5271
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8538b2;
/* rgb */ color: rgb(133, 56, 178);
/* oklch */ color: oklch(50.3% 0.189 310.3);
Tailwind
colors: {
  custom: {
    50: '#ac75ca',
    500: '#8538b2',
    950: '#000000',
  },
}
SCSS
$custom: #8538b2;
$custom-light: #ac75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8538b2",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 277.869,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50293,
    "c": 0.18921,
    "h": 310.3
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#8538B2
secondary
#9AC581
accent
#DC4C81
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8538B2

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

Preview Lab → · Contrast checker → · Palette generator →

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