#8A62FD#8A62FD

#8A62FD is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.9% C 0.220 H 290.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A62FD
RGBrgb(138, 98, 253)
HSLhsl(255, 97%, 69%)
HSVhsv(255, 61%, 99%)
CMYKcmyk(45.5%, 61.3%, 0%, 0.8%)
CIE-LABlab(53.20, 51.63, -72.00)
CIE-LCHlch(53.20, 88.59, 305.64°)
OKLaboklab(61.85% 0.0765 -0.2058)
OKLCHoklch(61.85% 0.22 290.4)
XYZxyz(32.5735, 21.2293, 95.2908)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62FD #D5FD62
analogous
#6288FD #8A62FD #D862FD
triadic
#8A62FD #FD8A62 #62FD8A
tetradic
#8A62FD #FD6288 #D5FD62 #62FDD8
square
#8A62FD #FD6288 #D5FD62 #62FDD8
split-complementary
#8A62FD #FDD862 #88FD62
monochromatic
#3C03E2 #5D26FC #8A62FD #B79EFE #E4DBFF

Accessibility & contrast

On white

4.00
#8A62FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8A62FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62FD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62FD#FFFFFF#000000##000000
##8A62FD1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007CFA
Tritanopia (blue-blind)
#6686A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a62fd;
/* rgb */ color: rgb(138, 98, 253);
/* oklch */ color: oklch(61.9% 0.220 290.4);
Tailwind
colors: {
  custom: {
    50: '#b490ff',
    500: '#8a62fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a62fd;
$custom-light: #b490ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62fd",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 255.484,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61852,
    "c": 0.21957,
    "h": 290.4
  },
  "luminance": 0.2123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A62FD

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

Preview Lab → · Contrast checker → · Palette generator →

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