#8F5FC2#8F5FC2

#8F5FC2 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.0% C 0.152 H 304.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8F5FC2
RGBrgb(143, 95, 194)
HSLhsl(269, 45%, 57%)
HSVhsv(269, 51%, 76%)
CMYKcmyk(26.3%, 51%, 0%, 23.9%)
CIE-LABlab(49.40, 39.13, -44.73)
CIE-LCHlch(49.40, 59.43, 311.18°)
OKLaboklab(58% 0.0863 -0.1256)
OKLCHoklch(58% 0.152 304.5)
XYZxyz(25.1554, 17.9192, 53.1620)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FC2 #92C25F
analogous
#5F61C2 #8F5FC2 #C15FC2
triadic
#8F5FC2 #C28F5F #5FC28F
tetradic
#8F5FC2 #C25F61 #92C25F #5FC2C1
square
#8F5FC2 #C25F61 #92C25F #5FC2C1
split-complementary
#8F5FC2 #C2C15F #61C25F
monochromatic
#522E79 #703FA5 #8F5FC2 #AE8BD3 #CDB8E4

Accessibility & contrast

On white

4.58
#8F5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8F5FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FC2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FC2#FFFFFF#000000##000000
##8F5FC21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#4E75C0
Tritanopia (blue-blind)
#867188
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f5fc2;
/* rgb */ color: rgb(143, 95, 194);
/* oklch */ color: oklch(58.0% 0.152 304.5);
Tailwind
colors: {
  custom: {
    50: '#b28ed5',
    500: '#8f5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fc2;
$custom-light: #b28ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fc2",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 269.091,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58002,
    "c": 0.1524,
    "h": 304.5
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#8F5FC2
secondary
#BFD3AA
accent
#D45396
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8F5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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