#8F55C2#8F55C2

#8F55C2 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.168 H 306.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8F55C2
RGBrgb(143, 85, 194)
HSLhsl(272, 47%, 55%)
HSVhsv(272, 56%, 76%)
CMYKcmyk(26.3%, 56.2%, 0%, 23.9%)
CIE-LABlab(47.28, 44.65, -48.11)
CIE-LCHlch(47.28, 65.63, 312.86°)
OKLaboklab(56.44% 0.0996 -0.1355)
OKLCHoklch(56.44% 0.168 306.3)
XYZxyz(24.3118, 16.2319, 52.8808)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F55C2 #88C255
analogous
#5955C2 #8F55C2 #C255BE
triadic
#8F55C2 #C28F55 #55C28F
tetradic
#8F55C2 #C25955 #88C255 #55BEC2
square
#8F55C2 #C25955 #88C255 #55BEC2
split-complementary
#8F55C2 #BEC255 #55C259
monochromatic
#512973 #703AA0 #8F55C2 #AD82D2 #CAAFE2

Accessibility & contrast

On white

4.95
#8F55C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8F55C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F55C2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F55C2#FFFFFF#000000##FFFFFF
##8F55C21.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#4371BF
Tritanopia (blue-blind)
#876983
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f55c2;
/* rgb */ color: rgb(143, 85, 194);
/* oklch */ color: oklch(56.4% 0.168 306.3);
Tailwind
colors: {
  custom: {
    50: '#b387d5',
    500: '#8f55c2',
    950: '#000000',
  },
}
SCSS
$custom: #8f55c2;
$custom-light: #b387d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f55c2",
  "rgb": {
    "r": 143,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 271.927,
    "s": 47.186,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56436,
    "c": 0.16815,
    "h": 306.3
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#8F55C2
secondary
#B8D0A2
accent
#D75190
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F55C2

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

Preview Lab → · Contrast checker → · Palette generator →

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