#8531D4#8531D4

#8531D4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.1% C 0.231 H 302.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8531D4
RGBrgb(133, 49, 212)
HSLhsl(271, 65%, 51%)
HSVhsv(271, 77%, 83%)
CMYKcmyk(37.3%, 76.9%, 0%, 16.9%)
CIE-LABlab(41.12, 63.81, -68.52)
CIE-LCHlch(41.12, 93.63, 312.96°)
OKLaboklab(52.13% 0.1228 -0.1956)
OKLCHoklch(52.13% 0.231 302.1)
XYZxyz(22.6520, 11.9366, 63.3852)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8531D4 #80D431
analogous
#3331D4 #8531D4 #D431D2
triadic
#8531D4 #D48531 #31D485
tetradic
#8531D4 #D43331 #80D431 #31D2D4
square
#8531D4 #D43331 #80D431 #31D2D4
split-complementary
#8531D4 #D2D431 #31D433
monochromatic
#471873 #6623A5 #8531D4 #A364DF #C196E9

Accessibility & contrast

On white

6.20
#8531D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8531D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8531D4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8531D4#FFFFFF#000000##FFFFFF
##8531D41.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)
#0060D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#745C82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8531d4;
/* rgb */ color: rgb(133, 49, 212);
/* oklch */ color: oklch(52.1% 0.231 302.1);
Tailwind
colors: {
  custom: {
    50: '#af72e2',
    500: '#8531d4',
    950: '#000000',
  },
}
SCSS
$custom: #8531d4;
$custom-light: #af72e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8531d4",
  "rgb": {
    "r": 133,
    "g": 49,
    "b": 212
  },
  "hsl": {
    "h": 270.92,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52134,
    "c": 0.23094,
    "h": 302.1
  },
  "luminance": 0.11937
}

Semantic roles & 50–950 ramp

primary
#8531D4
secondary
#AFD48C
accent
#E83F91
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8531D4

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

Preview Lab → · Contrast checker → · Palette generator →

#8531D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva