#8123BC#8123BC

#8123BC is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.220 H 307.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8123BC
RGBrgb(129, 35, 188)
HSLhsl(277, 69%, 44%)
HSVhsv(277, 81%, 74%)
CMYKcmyk(31.4%, 81.4%, 0%, 26.3%)
CIE-LABlab(36.93, 62.81, -61.39)
CIE-LCHlch(36.93, 87.83, 315.65°)
OKLaboklab(48.5% 0.1342 -0.1747)
OKLCHoklch(48.5% 0.22 307.5)
XYZxyz(18.7294, 9.5003, 48.4143)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123BC #5EBC23
analogous
#3423BC #8123BC #BC23AA
triadic
#8123BC #BC8123 #23BC81
tetradic
#8123BC #BC3423 #5EBC23 #23AABC
square
#8123BC #BC3423 #5EBC23 #23AABC
split-complementary
#8123BC #AABC23 #23BC34
monochromatic
#3A1055 #5E1988 #8123BC #A041DC #BA74E5

Accessibility & contrast

On white

7.24
#8123BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8123BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8123BC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8123BC#FFFFFF#000000##FFFFFF
##8123BC1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#774C71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8123bc;
/* rgb */ color: rgb(129, 35, 188);
/* oklch */ color: oklch(48.5% 0.220 307.5);
Tailwind
colors: {
  custom: {
    50: '#ab6bd1',
    500: '#8123bc',
    950: '#000000',
  },
}
SCSS
$custom: #8123bc;
$custom-light: #ab6bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8123bc",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 276.863,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.485,
    "c": 0.2203,
    "h": 307.5
  },
  "luminance": 0.095
}

Semantic roles & 50–950 ramp

primary
#8123BC
secondary
#93CC6F
accent
#EB3C80
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8123BC

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

Preview Lab → · Contrast checker → · Palette generator →

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