#8123BB#8123BB

#8123BB is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.219 H 307.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8123BB
RGBrgb(129, 35, 187)
HSLhsl(277, 68%, 44%)
HSVhsv(277, 81%, 73%)
CMYKcmyk(31%, 81.3%, 0%, 26.7%)
CIE-LABlab(36.85, 62.60, -60.93)
CIE-LCHlch(36.85, 87.36, 315.77°)
OKLaboklab(48.42% 0.1345 -0.1733)
OKLCHoklch(48.42% 0.219 307.8)
XYZxyz(18.6220, 9.4573, 47.8485)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123BB #5DBB23
analogous
#3523BB #8123BB #BB23A9
triadic
#8123BB #BB8123 #23BB81
tetradic
#8123BB #BB3523 #5DBB23 #23A9BB
square
#8123BB #BB3523 #5DBB23 #23A9BB
split-complementary
#8123BB #A9BB23 #23BB35
monochromatic
#3A1054 #5D1987 #8123BB #A040DB #BA74E5

Accessibility & contrast

On white

7.26
#8123BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8123BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8123BB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8123BB#FFFFFF#000000##FFFFFF
##8123BB1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8123bb;
/* rgb */ color: rgb(129, 35, 187);
/* oklch */ color: oklch(48.4% 0.219 307.8);
Tailwind
colors: {
  custom: {
    50: '#ab6bd0',
    500: '#8123bb',
    950: '#000000',
  },
}
SCSS
$custom: #8123bb;
$custom-light: #ab6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8123bb",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 277.105,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48419,
    "c": 0.2194,
    "h": 307.8
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#8123BB
secondary
#92CC6E
accent
#EB3C7F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8123BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8123BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva