#8F62EA#8F62EA

#8F62EA is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.0% C 0.197 H 295.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8F62EA
RGBrgb(143, 98, 234)
HSLhsl(260, 76%, 65%)
HSVhsv(260, 58%, 92%)
CMYKcmyk(38.9%, 58.1%, 0%, 8.2%)
CIE-LABlab(52.41, 47.58, -62.65)
CIE-LCHlch(52.41, 78.67, 307.22°)
OKLaboklab(60.99% 0.0838 -0.1782)
OKLCHoklch(60.99% 0.197 295.2)
XYZxyz(30.5428, 20.5149, 80.1765)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F62EA #BDEA62
analogous
#6279EA #8F62EA #D362EA
triadic
#8F62EA #EA8F62 #62EA8F
tetradic
#8F62EA #EA6279 #BDEA62 #62EAD3
square
#8F62EA #EA6279 #BDEA62 #62EAD3
split-complementary
#8F62EA #EAD362 #79EA62
monochromatic
#4E19B9 #682CE3 #8F62EA #B698F1 #DCCEF8

Accessibility & contrast

On white

4.12
#8F62EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8F62EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F62EA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F62EA#FFFFFF#000000##000000
##8F62EA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#067EEE
Deuteranopia (green-blind)
#257BE7
Tritanopia (blue-blind)
#787F9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f62ea;
/* rgb */ color: rgb(143, 98, 234);
/* oklch */ color: oklch(61.0% 0.197 295.2);
Tailwind
colors: {
  custom: {
    50: '#b590f1',
    500: '#8f62ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f62ea;
$custom-light: #b590f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f62ea",
  "rgb": {
    "r": 143,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 259.853,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.19689,
    "h": 295.2
  },
  "luminance": 0.20516
}

Semantic roles & 50–950 ramp

primary
#8F62EA
secondary
#DCEBBD
accent
#D90D95
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8F62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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