#8F34D2#8F34D2

#8F34D2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.5% C 0.228 H 306.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8F34D2
RGBrgb(143, 52, 210)
HSLhsl(275, 64%, 51%)
HSVhsv(275, 75%, 82%)
CMYKcmyk(31.9%, 75.2%, 0%, 17.6%)
CIE-LABlab(42.69, 63.89, -64.75)
CIE-LCHlch(42.69, 90.96, 314.61°)
OKLaboklab(53.47% 0.1345 -0.1842)
OKLCHoklch(53.47% 0.228 306.1)
XYZxyz(24.1860, 12.9490, 62.1855)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34D2 #77D234
analogous
#4034D2 #8F34D2 #D234C6
triadic
#8F34D2 #D28F34 #34D28F
tetradic
#8F34D2 #D24034 #77D234 #34C6D2
square
#8F34D2 #D24034 #77D234 #34C6D2
split-complementary
#8F34D2 #C6D234 #34D240
monochromatic
#4D1972 #6E24A4 #8F34D2 #AB66DD #C698E8

Accessibility & contrast

On white

5.85
#8F34D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8F34D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34D2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34D2#FFFFFF#000000##FFFFFF
##8F34D21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#835B81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f34d2;
/* rgb */ color: rgb(143, 52, 210);
/* oklch */ color: oklch(53.5% 0.228 306.1);
Tailwind
colors: {
  custom: {
    50: '#b675e1',
    500: '#8f34d2',
    950: '#000000',
  },
}
SCSS
$custom: #8f34d2;
$custom-light: #b675e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34d2",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 274.557,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.22808,
    "h": 306.1
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#8F34D2
secondary
#ACD48E
accent
#E74187
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F34D2

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

Preview Lab → · Contrast checker → · Palette generator →

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