#8F61EA#8F61EA

#8F61EA is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.198 H 295.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8F61EA
RGBrgb(143, 97, 234)
HSLhsl(260, 77%, 65%)
HSVhsv(260, 59%, 92%)
CMYKcmyk(38.9%, 58.5%, 0%, 8.2%)
CIE-LABlab(52.21, 48.13, -62.98)
CIE-LCHlch(52.21, 79.27, 307.39°)
OKLaboklab(60.84% 0.0849 -0.1792)
OKLCHoklch(60.84% 0.198 295.4)
XYZxyz(30.4498, 20.3289, 80.1455)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F61EA #BCEA61
analogous
#6178EA #8F61EA #D361EA
triadic
#8F61EA #EA8F61 #61EA8F
tetradic
#8F61EA #EA6178 #BCEA61 #61EAD3
square
#8F61EA #EA6178 #BCEA61 #61EAD3
split-complementary
#8F61EA #EAD361 #78EA61
monochromatic
#4E18B8 #692BE3 #8F61EA #B597F1 #DCCDF8

Accessibility & contrast

On white

4.15
#8F61EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8F61EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F61EA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F61EA#FFFFFF#000000##000000
##8F61EA1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEE
Deuteranopia (green-blind)
#227AE7
Tritanopia (blue-blind)
#787F9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f61ea;
/* rgb */ color: rgb(143, 97, 234);
/* oklch */ color: oklch(60.8% 0.198 295.4);
Tailwind
colors: {
  custom: {
    50: '#b590f1',
    500: '#8f61ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f61ea;
$custom-light: #b590f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f61ea",
  "rgb": {
    "r": 143,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 260.146,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60838,
    "c": 0.19827,
    "h": 295.4
  },
  "luminance": 0.2033
}

Semantic roles & 50–950 ramp

primary
#8F61EA
secondary
#DBEBBC
accent
#D90D94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #8F61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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