#8217B3#8217B3

#8217B3 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 47.1% C 0.222 H 311.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8217B3
RGBrgb(130, 23, 179)
HSLhsl(281, 77%, 40%)
HSVhsv(281, 87%, 70%)
CMYKcmyk(27.4%, 87.2%, 0%, 29.8%)
CIE-LABlab(35.23, 64.43, -58.83)
CIE-LCHlch(35.23, 87.24, 317.60°)
OKLaboklab(47.13% 0.1457 -0.167)
OKLCHoklch(47.13% 0.222 311.1)
XYZxyz(17.6474, 8.6138, 43.3721)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8217B3 #48B317
analogous
#3417B3 #8217B3 #B31796
triadic
#8217B3 #B38217 #17B382
tetradic
#8217B3 #B33417 #48B317 #1796B3
square
#8217B3 #B33417 #48B317 #1796B3
split-complementary
#8217B3 #96B317 #17B334
monochromatic
#330947 #5B107D #8217B3 #A724E3 #BD5BEA

Accessibility & contrast

On white

7.71
#8217B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8217B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8217B3
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8217B3#FFFFFF#000000##FFFFFF
##8217B31.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#7B446A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8217b3;
/* rgb */ color: rgb(130, 23, 179);
/* oklch */ color: oklch(47.1% 0.222 311.1);
Tailwind
colors: {
  custom: {
    50: '#ac66cb',
    500: '#8217b3',
    950: '#000000',
  },
}
SCSS
$custom: #8217b3;
$custom-light: #ac66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8217b3",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 281.154,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47126,
    "c": 0.22168,
    "h": 311.1
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#8217B3
secondary
#7DCD58
accent
#F43470
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8217B3

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

Preview Lab → · Contrast checker → · Palette generator →

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