#8F5FCC#8F5FCC

#8F5FCC is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.165 H 301.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8F5FCC
RGBrgb(143, 95, 204)
HSLhsl(266, 52%, 59%)
HSVhsv(266, 53%, 80%)
CMYKcmyk(29.9%, 53.4%, 0%, 20%)
CIE-LABlab(49.96, 41.58, -49.59)
CIE-LCHlch(49.96, 64.72, 309.98°)
OKLaboklab(58.6% 0.087 -0.1398)
OKLCHoklch(58.6% 0.165 301.9)
XYZxyz(26.3165, 18.3836, 59.2770)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FCC #9CCC5F
analogous
#5F65CC #8F5FCC #C55FCC
triadic
#8F5FCC #CC8F5F #5FCC8F
tetradic
#8F5FCC #CC5F65 #9CCC5F #5FCCC5
square
#8F5FCC #CC5F65 #9CCC5F #5FCCC5
split-complementary
#8F5FCC #CCC55F #65CC5F
monochromatic
#532B86 #7039B4 #8F5FCC #AF8DDB #D0BCEA

Accessibility & contrast

On white

4.49
#8F5FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8F5FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FCC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FCC#FFFFFF#000000##000000
##8F5FCC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D0
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#83748C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f5fcc;
/* rgb */ color: rgb(143, 95, 204);
/* oklch */ color: oklch(58.6% 0.165 301.9);
Tailwind
colors: {
  custom: {
    50: '#b38edc',
    500: '#8f5fcc',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fcc;
$custom-light: #b38edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fcc",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 266.422,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58598,
    "c": 0.16468,
    "h": 301.9
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#8F5FCC
secondary
#C6D9AE
accent
#DB4D9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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