#8F62EF#8F62EF

#8F62EF is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.3% C 0.203 H 294.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8F62EF
RGBrgb(143, 98, 239)
HSLhsl(259, 82%, 66%)
HSVhsv(259, 59%, 94%)
CMYKcmyk(40.2%, 59%, 0%, 6.3%)
CIE-LABlab(52.74, 48.90, -64.93)
CIE-LCHlch(52.74, 81.28, 306.98°)
OKLaboklab(61.33% 0.0836 -0.1849)
OKLCHoklch(61.33% 0.203 294.3)
XYZxyz(31.2712, 20.8063, 84.0130)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F62EF #C2EF62
analogous
#627BEF #8F62EF #D562EF
triadic
#8F62EF #EF8F62 #62EF8F
tetradic
#8F62EF #EF627B #C2EF62 #62EFD5
square
#8F62EF #EF627B #C2EF62 #62EFD5
split-complementary
#8F62EF #EFD562 #7BEF62
monochromatic
#4C14C3 #672AE9 #8F62EF #B79AF5 #DED1FA

Accessibility & contrast

On white

4.07
#8F62EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8F62EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F62EF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F62EF#FFFFFF#000000##000000
##8F62EF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#187CEC
Tritanopia (blue-blind)
#76819F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f62ef;
/* rgb */ color: rgb(143, 98, 239);
/* oklch */ color: oklch(61.3% 0.203 294.3);
Tailwind
colors: {
  custom: {
    50: '#b590f5',
    500: '#8f62ef',
    950: '#000000',
  },
}
SCSS
$custom: #8f62ef;
$custom-light: #b590f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f62ef",
  "rgb": {
    "r": 143,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 259.149,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61329,
    "c": 0.20292,
    "h": 294.3
  },
  "luminance": 0.20807
}

Semantic roles & 50–950 ramp

primary
#8F62EF
secondary
#DFEEBF
accent
#DE0899
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #8F62EF

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

Preview Lab → · Contrast checker → · Palette generator →

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