#8F55B2#8F55B2

#8F55B2 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.5% C 0.150 H 311.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8F55B2
RGBrgb(143, 85, 178)
HSLhsl(277, 38%, 52%)
HSVhsv(277, 52%, 70%)
CMYKcmyk(19.7%, 52.2%, 0%, 30.2%)
CIE-LABlab(46.38, 40.93, -40.22)
CIE-LCHlch(46.38, 57.39, 315.50°)
OKLaboklab(55.48% 0.0986 -0.1124)
OKLCHoklch(55.48% 0.15 311.2)
XYZxyz(22.6106, 15.5514, 43.9215)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F55B2 #78B255
analogous
#6155B2 #8F55B2 #B255A7
triadic
#8F55B2 #B28F55 #55B28F
tetradic
#8F55B2 #B26155 #78B255 #55A7B2
square
#8F55B2 #B26155 #78B255 #55A7B2
split-complementary
#8F55B2 #A7B255 #55B261
monochromatic
#4D2C61 #6E3F8B #8F55B2 #AB7FC5 #C7A9D8

Accessibility & contrast

On white

5.11
#8F55B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8F55B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F55B2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F55B2#FFFFFF#000000##FFFFFF
##8F55B21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#8B647B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f55b2;
/* rgb */ color: rgb(143, 85, 178);
/* oklch */ color: oklch(55.5% 0.150 311.2);
Tailwind
colors: {
  custom: {
    50: '#b287c9',
    500: '#8f55b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f55b2;
$custom-light: #b287c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f55b2",
  "rgb": {
    "r": 143,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 277.419,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55485,
    "c": 0.14954,
    "h": 311.2
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#8F55B2
secondary
#ACC69D
accent
#CE5A86
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F55B2

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

Preview Lab → · Contrast checker → · Palette generator →

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