#8A62FB#8A62FB

#8A62FB is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.7% C 0.217 H 290.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8A62FB
RGBrgb(138, 98, 251)
HSLhsl(256, 95%, 68%)
HSVhsv(256, 61%, 98%)
CMYKcmyk(45%, 61%, 0%, 1.6%)
CIE-LABlab(53.06, 51.08, -71.11)
CIE-LCHlch(53.06, 87.56, 305.69°)
OKLaboklab(61.71% 0.0766 -0.2032)
OKLCHoklch(61.71% 0.217 290.7)
XYZxyz(32.2566, 21.1025, 93.6217)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62FB #D3FB62
analogous
#6286FB #8A62FB #D662FB
triadic
#8A62FB #FB8A62 #62FB8A
tetradic
#8A62FB #FB6286 #D3FB62 #62FBD6
square
#8A62FB #FB6286 #D3FB62 #62FBD6
split-complementary
#8A62FB #FBD662 #86FB62
monochromatic
#3E06DD #5E26F9 #8A62FB #B69EFD #E3D9FE

Accessibility & contrast

On white

4.02
#8A62FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8A62FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62FB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62FB#FFFFFF#000000##000000
##8A62FB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007BF8
Tritanopia (blue-blind)
#6885A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a62fb;
/* rgb */ color: rgb(138, 98, 251);
/* oklch */ color: oklch(61.7% 0.217 290.7);
Tailwind
colors: {
  custom: {
    50: '#b490fe',
    500: '#8a62fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a62fb;
$custom-light: #b490fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62fb",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 255.686,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61708,
    "c": 0.21719,
    "h": 290.7
  },
  "luminance": 0.21104
}

Semantic roles & 50–950 ramp

primary
#8A62FB
secondary
#E7F3C5
accent
#E600AA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A62FB

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

Preview Lab → · Contrast checker → · Palette generator →

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