#8734D2#8734D2

#8734D2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.226 H 303.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8734D2
RGBrgb(135, 52, 210)
HSLhsl(272, 64%, 51%)
HSVhsv(272, 75%, 82%)
CMYKcmyk(35.7%, 75.2%, 0%, 17.6%)
CIE-LABlab(41.63, 62.51, -66.52)
CIE-LCHlch(41.63, 91.28, 313.22°)
OKLaboklab(52.5% 0.1236 -0.1897)
OKLCHoklch(52.5% 0.226 303.1)
XYZxyz(22.8498, 12.2600, 62.1229)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8734D2 #7FD234
analogous
#3834D2 #8734D2 #D234CE
triadic
#8734D2 #D28734 #34D287
tetradic
#8734D2 #D23834 #7FD234 #34CED2
square
#8734D2 #D23834 #7FD234 #34CED2
split-complementary
#8734D2 #CED234 #34D238
monochromatic
#481972 #6824A4 #8734D2 #A566DD #C298E8

Accessibility & contrast

On white

6.08
#8734D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8734D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8734D2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8734D2#FFFFFF#000000##FFFFFF
##8734D21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#785C81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8734d2;
/* rgb */ color: rgb(135, 52, 210);
/* oklch */ color: oklch(52.5% 0.226 303.1);
Tailwind
colors: {
  custom: {
    50: '#b074e1',
    500: '#8734d2',
    950: '#000000',
  },
}
SCSS
$custom: #8734d2;
$custom-light: #b074e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8734d2",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 271.519,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.525,
    "c": 0.22637,
    "h": 303.1
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#8734D2
secondary
#AFD48E
accent
#E74190
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8734D2

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

Preview Lab → · Contrast checker → · Palette generator →

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