#8C34DD#8C34DD

#8C34DD is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 54.0% C 0.238 H 302.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8C34DD
RGBrgb(140, 52, 221)
HSLhsl(271, 71%, 54%)
HSVhsv(271, 76%, 87%)
CMYKcmyk(36.7%, 76.5%, 0%, 13.3%)
CIE-LABlab(43.14, 65.83, -70.34)
CIE-LCHlch(43.14, 96.34, 313.10°)
OKLaboklab(53.97% 0.1279 -0.2007)
OKLCHoklch(53.97% 0.238 302.5)
XYZxyz(25.0912, 13.2518, 69.6286)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C34DD #85DD34
analogous
#3734DD #8C34DD #DD34D9
triadic
#8C34DD #DD8C34 #34DD8C
tetradic
#8C34DD #DD3734 #85DD34 #34D9DD
square
#8C34DD #DD3734 #85DD34 #34D9DD
split-complementary
#8C34DD #D9DD34 #34DD37
monochromatic
#4E1681 #6D1EB5 #8C34DD #AA68E6 #C79DEF

Accessibility & contrast

On white

5.75
#8C34DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8C34DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C34DD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C34DD#FFFFFF#000000##FFFFFF
##8C34DD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E2
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#7B6088
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8c34dd;
/* rgb */ color: rgb(140, 52, 221);
/* oklch */ color: oklch(54.0% 0.238 302.5);
Tailwind
colors: {
  custom: {
    50: '#b475e9',
    500: '#8c34dd',
    950: '#000000',
  },
}
SCSS
$custom: #8c34dd;
$custom-light: #b475e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c34dd",
  "rgb": {
    "r": 140,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 271.243,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53969,
    "c": 0.238,
    "h": 302.5
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#8C34DD
secondary
#B5DB92
accent
#EE3A90
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8C34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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