#8121BD#8121BD

#8121BD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.223 H 307.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8121BD
RGBrgb(129, 33, 189)
HSLhsl(277, 70%, 44%)
HSVhsv(277, 83%, 74%)
CMYKcmyk(31.7%, 82.5%, 0%, 25.9%)
CIE-LABlab(36.80, 63.65, -62.20)
CIE-LCHlch(36.80, 88.99, 315.66°)
OKLaboklab(48.43% 0.1354 -0.177)
OKLCHoklch(48.43% 0.223 307.4)
XYZxyz(18.7804, 9.4292, 48.9649)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8121BD #5DBD21
analogous
#3321BD #8121BD #BD21AB
triadic
#8121BD #BD8121 #21BD81
tetradic
#8121BD #BD3321 #5DBD21 #21ABBD
square
#8121BD #BD3321 #5DBD21 #21ABBD
split-complementary
#8121BD #ABBD21 #21BD33
monochromatic
#3A0F55 #5D1889 #8121BD #A03EDD #BA72E6

Accessibility & contrast

On white

7.28
#8121BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8121BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8121BD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8121BD#FFFFFF#000000##FFFFFF
##8121BD1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#774C71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8121bd;
/* rgb */ color: rgb(129, 33, 189);
/* oklch */ color: oklch(48.4% 0.223 307.4);
Tailwind
colors: {
  custom: {
    50: '#ac6ad2',
    500: '#8121bd',
    950: '#000000',
  },
}
SCSS
$custom: #8121bd;
$custom-light: #ac6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8121bd",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 276.923,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.22285,
    "h": 307.4
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#8121BD
secondary
#92CD6D
accent
#ED3B7F
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8121BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8121BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva