#8538C7#8538C7

#8538C7 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.211 H 304.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8538C7
RGBrgb(133, 56, 199)
HSLhsl(272, 56%, 50%)
HSVhsv(272, 72%, 78%)
CMYKcmyk(33.2%, 71.9%, 0%, 22%)
CIE-LABlab(41.12, 57.95, -60.99)
CIE-LCHlch(41.12, 84.13, 313.53°)
OKLaboklab(51.82% 0.1194 -0.1735)
OKLCHoklch(51.82% 0.211 304.5)
XYZxyz(21.3935, 11.9385, 55.1991)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538C7 #7AC738
analogous
#3E38C7 #8538C7 #C738C1
triadic
#8538C7 #C78538 #38C785
tetradic
#8538C7 #C73E38 #7AC738 #38C1C7
square
#8538C7 #C73E38 #7AC738 #38C1C7
split-complementary
#8538C7 #C1C738 #38C73E
monochromatic
#451D67 #652B97 #8538C7 #A268D4 #C098E2

Accessibility & contrast

On white

6.20
#8538C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8538C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538C7
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538C7#FFFFFF#000000##FFFFFF
##8538C71.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#785A7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8538c7;
/* rgb */ color: rgb(133, 56, 199);
/* oklch */ color: oklch(51.8% 0.211 304.5);
Tailwind
colors: {
  custom: {
    50: '#ae75d9',
    500: '#8538c7',
    950: '#000000',
  },
}
SCSS
$custom: #8538c7;
$custom-light: #ae75d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8538c7",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 272.308,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.51823,
    "c": 0.2106,
    "h": 304.5
  },
  "luminance": 0.11938
}

Semantic roles & 50–950 ramp

primary
#8538C7
secondary
#ABCD8D
accent
#DF488E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8538C7

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

Preview Lab → · Contrast checker → · Palette generator →

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