#8A62FF#8A62FF

#8A62FF is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 62.0% C 0.222 H 290.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8A62FF
RGBrgb(138, 98, 255)
HSLhsl(255, 100%, 69%)
HSVhsv(255, 62%, 100%)
CMYKcmyk(45.9%, 61.6%, 0%, 0%)
CIE-LABlab(53.34, 52.17, -72.88)
CIE-LCHlch(53.34, 89.63, 305.60°)
OKLaboklab(62% 0.0764 -0.2084)
OKLCHoklch(62% 0.222 290.1)
XYZxyz(32.8938, 21.3574, 96.9776)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62FF #D7FF62
analogous
#6289FF #8A62FF #D962FF
triadic
#8A62FF #FF8A62 #62FF8A
tetradic
#8A62FF #FF6289 #D7FF62 #62FFD9
square
#8A62FF #FF6289 #D7FF62 #62FFD9
split-complementary
#8A62FF #FFD962 #89FF62
monochromatic
#3B00E7 #5C25FF #8A62FF #B89FFF #E5DCFF

Accessibility & contrast

On white

3.98
#8A62FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8A62FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62FF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62FF#FFFFFF#000000##000000
##8A62FF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007CFC
Tritanopia (blue-blind)
#6587A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a62ff;
/* rgb */ color: rgb(138, 98, 255);
/* oklch */ color: oklch(62.0% 0.222 290.1);
Tailwind
colors: {
  custom: {
    50: '#b490ff',
    500: '#8a62ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a62ff;
$custom-light: #b490ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62ff",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 255.287,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61997,
    "c": 0.22196,
    "h": 290.1
  },
  "luminance": 0.21359
}

Semantic roles & 50–950 ramp

primary
#8A62FF
secondary
#EAF5C8
accent
#E600AB
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A62FF

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

Preview Lab → · Contrast checker → · Palette generator →

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