#8F61DF#8F61DF

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

Color values

HEX#8F61DF
RGBrgb(143, 97, 223)
HSLhsl(262, 66%, 63%)
HSVhsv(262, 57%, 87%)
CMYKcmyk(35.9%, 56.5%, 0%, 12.5%)
CIE-LABlab(51.51, 45.28, -57.90)
CIE-LCHlch(51.51, 73.50, 308.02°)
OKLaboklab(60.11% 0.085 -0.1642)
OKLCHoklch(60.11% 0.185 297.4)
XYZxyz(28.9183, 19.7163, 72.0798)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F61DF #B1DF61
analogous
#6172DF #8F61DF #CE61DF
triadic
#8F61DF #DF8F61 #61DF8F
tetradic
#8F61DF #DF6172 #B1DF61 #61DFCE
square
#8F61DF #DF6172 #B1DF61 #61DFCE
split-complementary
#8F61DF #DFCE61 #72DF61
monochromatic
#5121A4 #6B2ED5 #8F61DF #B394E9 #D7C7F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F61DF#FFFFFF#000000##000000
##8F61DF1.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)
#237BE3
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#7D7B97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f61df;
/* rgb */ color: rgb(143, 97, 223);
/* oklch */ color: oklch(60.1% 0.185 297.4);
Tailwind
colors: {
  custom: {
    50: '#b48fea',
    500: '#8f61df',
    950: '#000000',
  },
}
SCSS
$custom: #8f61df;
$custom-light: #b48fea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f61df",
  "rgb": {
    "r": 143,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 261.905,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60109,
    "c": 0.18494,
    "h": 297.4
  },
  "luminance": 0.19717
}

Semantic roles & 50–950 ramp

primary
#8F61DF
secondary
#D4E5B7
accent
#CE178B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F61DF

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

Preview Lab → · Contrast checker → · Palette generator →

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