#8F62DF#8F62DF

#8F62DF is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.3% C 0.183 H 297.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8F62DF
RGBrgb(143, 98, 223)
HSLhsl(262, 66%, 63%)
HSVhsv(262, 56%, 87%)
CMYKcmyk(35.9%, 56.1%, 0%, 12.5%)
CIE-LABlab(51.73, 44.73, -57.56)
CIE-LCHlch(51.73, 72.90, 307.85°)
OKLaboklab(60.27% 0.0838 -0.1632)
OKLCHoklch(60.27% 0.183 297.2)
XYZxyz(29.0113, 19.9023, 72.1108)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F62DF #B2DF62
analogous
#6273DF #8F62DF #CE62DF
triadic
#8F62DF #DF8F62 #62DF8F
tetradic
#8F62DF #DF6273 #B2DF62 #62DFCE
square
#8F62DF #DF6273 #B2DF62 #62DFCE
split-complementary
#8F62DF #DFCE62 #73DF62
monochromatic
#5122A5 #6B2FD5 #8F62DF #B395E9 #D8C8F4

Accessibility & contrast

On white

4.22
#8F62DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8F62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F62DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F62DF#FFFFFF#000000##000000
##8F62DF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#267CE3
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#7D7C97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f62df;
/* rgb */ color: rgb(143, 98, 223);
/* oklch */ color: oklch(60.3% 0.183 297.2);
Tailwind
colors: {
  custom: {
    50: '#b490ea',
    500: '#8f62df',
    950: '#000000',
  },
}
SCSS
$custom: #8f62df;
$custom-light: #b490ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f62df",
  "rgb": {
    "r": 143,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 261.6,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60265,
    "c": 0.18349,
    "h": 297.2
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#8F62DF
secondary
#D5E5B8
accent
#CE178C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8F62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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