#8F60E2#8F60E2

#8F60E2 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.190 H 297.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8F60E2
RGBrgb(143, 96, 226)
HSLhsl(262, 69%, 63%)
HSVhsv(262, 58%, 89%)
CMYKcmyk(36.7%, 57.5%, 0%, 11.4%)
CIE-LABlab(51.49, 46.60, -59.63)
CIE-LCHlch(51.49, 75.68, 308.01°)
OKLaboklab(60.15% 0.0862 -0.1693)
OKLCHoklch(60.15% 0.19 297)
XYZxyz(29.2345, 19.6959, 74.1982)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F60E2 #B3E260
analogous
#6072E2 #8F60E2 #D060E2
triadic
#8F60E2 #E28F60 #60E28F
tetradic
#8F60E2 #E26072 #B3E260 #60E2D0
square
#8F60E2 #E26072 #B3E260 #60E2D0
split-complementary
#8F60E2 #E2D060 #72E260
monochromatic
#511FA9 #6B2CD9 #8F60E2 #B394EB #D8C8F5

Accessibility & contrast

On white

4.25
#8F60E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8F60E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F60E2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F60E2#FFFFFF#000000##000000
##8F60E21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#187BE6
Deuteranopia (green-blind)
#2F79DF
Tritanopia (blue-blind)
#7C7B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f60e2;
/* rgb */ color: rgb(143, 96, 226);
/* oklch */ color: oklch(60.2% 0.190 297.0);
Tailwind
colors: {
  custom: {
    50: '#b48fec',
    500: '#8f60e2',
    950: '#000000',
  },
}
SCSS
$custom: #8f60e2;
$custom-light: #b48fec;
$custom-dark: #000000;
JSON
{
  "hex": "#8f60e2",
  "rgb": {
    "r": 143,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 261.692,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60152,
    "c": 0.19001,
    "h": 297
  },
  "luminance": 0.19696
}

Semantic roles & 50–950 ramp

primary
#8F60E2
secondary
#D5E6B8
accent
#D1148D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F60E2

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

Preview Lab → · Contrast checker → · Palette generator →

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