#8734D1#8734D1

#8734D1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.4% C 0.225 H 303.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8734D1
RGBrgb(135, 52, 209)
HSLhsl(272, 63%, 51%)
HSVhsv(272, 75%, 82%)
CMYKcmyk(35.4%, 75.1%, 0%, 18%)
CIE-LABlab(41.55, 62.28, -66.07)
CIE-LCHlch(41.55, 90.80, 313.31°)
OKLaboklab(52.42% 0.1238 -0.1883)
OKLCHoklch(52.42% 0.225 303.3)
XYZxyz(22.7256, 12.2103, 61.4688)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8734D1 #7ED134
analogous
#3834D1 #8734D1 #D134CC
triadic
#8734D1 #D18734 #34D187
tetradic
#8734D1 #D13834 #7ED134 #34CCD1
square
#8734D1 #D13834 #7ED134 #34CCD1
split-complementary
#8734D1 #CCD134 #34D138
monochromatic
#481A71 #6825A3 #8734D1 #A466DC #C298E8

Accessibility & contrast

On white

6.10
#8734D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8734D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8734D1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8734D1#FFFFFF#000000##FFFFFF
##8734D11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D5
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#785C81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8734d1;
/* rgb */ color: rgb(135, 52, 209);
/* oklch */ color: oklch(52.4% 0.225 303.3);
Tailwind
colors: {
  custom: {
    50: '#b074e0',
    500: '#8734d1',
    950: '#000000',
  },
}
SCSS
$custom: #8734d1;
$custom-light: #b074e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8734d1",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 271.72,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.22538,
    "h": 303.3
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#8734D1
secondary
#AED38E
accent
#E6428F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8734D1

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

Preview Lab → · Contrast checker → · Palette generator →

#8734D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva