#8F56F5#8F56F5

#8F56F5 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.225 H 295.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F56F5
RGBrgb(143, 86, 245)
HSLhsl(262, 89%, 65%)
HSVhsv(262, 65%, 96%)
CMYKcmyk(41.6%, 64.9%, 0%, 3.9%)
CIE-LABlab(50.79, 56.78, -71.43)
CIE-LCHlch(50.79, 91.25, 308.48°)
OKLaboklab(60.04% 0.0961 -0.204)
OKLCHoklch(60.04% 0.225 295.2)
XYZxyz(31.1325, 19.0871, 88.4124)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56F5 #BCF556
analogous
#566DF5 #8F56F5 #DE56F5
triadic
#8F56F5 #F58F56 #56F58F
tetradic
#8F56F5 #F5566D #BCF556 #56F5DE
square
#8F56F5 #F5566D #BCF556 #56F5DE
split-complementary
#8F56F5 #F5DE56 #6DF556
monochromatic
#4E0CC5 #691CF2 #8F56F5 #B590F8 #DCCAFC

Accessibility & contrast

On white

4.36
#8F56F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8F56F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F56F5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56F5#FFFFFF#000000##000000
##8F56F51.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#747C9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f56f5;
/* rgb */ color: rgb(143, 86, 245);
/* oklch */ color: oklch(60.0% 0.225 295.2);
Tailwind
colors: {
  custom: {
    50: '#b789f9',
    500: '#8f56f5',
    950: '#000000',
  },
}
SCSS
$custom: #8f56f5;
$custom-light: #b789f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56f5",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 261.509,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60044,
    "c": 0.22549,
    "h": 295.2
  },
  "luminance": 0.19088
}

Semantic roles & 50–950 ramp

primary
#8F56F5
secondary
#DBEFB8
accent
#E50093
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F56F5

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

Preview Lab → · Contrast checker → · Palette generator →

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