#8D26CA#8D26CA

#8D26CA is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.4% C 0.233 H 308.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8D26CA
RGBrgb(141, 38, 202)
HSLhsl(278, 68%, 47%)
HSVhsv(278, 81%, 79%)
CMYKcmyk(30.2%, 81.2%, 0%, 20.8%)
CIE-LABlab(40.10, 66.72, -64.34)
CIE-LCHlch(40.10, 92.69, 316.04°)
OKLaboklab(51.41% 0.1447 -0.1829)
OKLCHoklch(51.41% 0.233 308.3)
XYZxyz(22.3361, 11.3136, 56.8727)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26CA #63CA26
analogous
#3B26CA #8D26CA #CA26B5
triadic
#8D26CA #CA8D26 #26CA8D
tetradic
#8D26CA #CA3B26 #63CA26 #26B5CA
square
#8D26CA #CA3B26 #63CA26 #26B5CA
split-complementary
#8D26CA #B5CA26 #26CA3B
monochromatic
#451363 #691C96 #8D26CA #A94FDE #C283E8

Accessibility & contrast

On white

6.44
#8D26CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8D26CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D26CA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26CA#FFFFFF#000000##FFFFFF
##8D26CA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#83527A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d26ca;
/* rgb */ color: rgb(141, 38, 202);
/* oklch */ color: oklch(51.4% 0.233 308.3);
Tailwind
colors: {
  custom: {
    50: '#b46edb',
    500: '#8d26ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d26ca;
$custom-light: #b46edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26ca",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 277.683,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.23328,
    "h": 308.3
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#8D26CA
secondary
#9BD17B
accent
#EB3D7E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8D26CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8D26CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva