#8F4FD2#8F4FD2

#8F4FD2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.195 H 303.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8F4FD2
RGBrgb(143, 79, 210)
HSLhsl(269, 59%, 57%)
HSVhsv(269, 62%, 82%)
CMYKcmyk(31.9%, 62.4%, 0%, 17.6%)
CIE-LABlab(47.09, 51.63, -57.63)
CIE-LCHlch(47.09, 77.37, 311.85°)
OKLaboklab(56.61% 0.1068 -0.1634)
OKLCHoklch(56.61% 0.195 303.2)
XYZxyz(25.7539, 16.0848, 62.7082)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FD2 #92D24F
analogous
#4F51D2 #8F4FD2 #D14FD2
triadic
#8F4FD2 #D28F4F #4FD28F
tetradic
#8F4FD2 #D24F51 #92D24F #4FD2D1
square
#8F4FD2 #D24F51 #92D24F #4FD2D1
split-complementary
#8F4FD2 #D2D14F #51D24F
monochromatic
#522285 #702EB5 #8F4FD2 #AE80DE #CDB0EB

Accessibility & contrast

On white

4.98
#8F4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8F4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FD2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FD2#FFFFFF#000000##FFFFFF
##8F4FD21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#286FCF
Tritanopia (blue-blind)
#826B89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4fd2;
/* rgb */ color: rgb(143, 79, 210);
/* oklch */ color: oklch(56.6% 0.195 303.2);
Tailwind
colors: {
  custom: {
    50: '#b484e0',
    500: '#8f4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fd2;
$custom-light: #b484e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fd2",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 269.313,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.1952,
    "h": 303.2
  },
  "luminance": 0.16085
}

Semantic roles & 50–950 ramp

primary
#8F4FD2
secondary
#BFD9A4
accent
#E24596
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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