#8A62FC#8A62FC

#8A62FC is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.8% C 0.218 H 290.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A62FC
RGBrgb(138, 98, 252)
HSLhsl(256, 96%, 69%)
HSVhsv(256, 61%, 99%)
CMYKcmyk(45.2%, 61.1%, 0%, 1.2%)
CIE-LABlab(53.13, 51.36, -71.55)
CIE-LCHlch(53.13, 88.08, 305.67°)
OKLaboklab(61.78% 0.0766 -0.2045)
OKLCHoklch(61.78% 0.218 290.5)
XYZxyz(32.4147, 21.1657, 94.4541)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62FC #D4FC62
analogous
#6287FC #8A62FC #D762FC
triadic
#8A62FC #FC8A62 #62FC8A
tetradic
#8A62FC #FC6287 #D4FC62 #62FCD7
square
#8A62FC #FC6287 #D4FC62 #62FCD7
split-complementary
#8A62FC #FCD762 #87FC62
monochromatic
#3D04DF #5D26FB #8A62FC #B79EFD #E4DAFE

Accessibility & contrast

On white

4.01
#8A62FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A62FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62FC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62FC#FFFFFF#000000##000000
##8A62FC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#6786A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a62fc;
/* rgb */ color: rgb(138, 98, 252);
/* oklch */ color: oklch(61.8% 0.218 290.5);
Tailwind
colors: {
  custom: {
    50: '#b490fe',
    500: '#8a62fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a62fc;
$custom-light: #b490fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62fc",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 255.584,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.21838,
    "h": 290.5
  },
  "luminance": 0.21167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A62FC

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

Preview Lab → · Contrast checker → · Palette generator →

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