#8A62F8#8A62F8

#8A62F8 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.5% C 0.214 H 291.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8A62F8
RGBrgb(138, 98, 248)
HSLhsl(256, 91%, 68%)
HSVhsv(256, 60%, 97%)
CMYKcmyk(44.4%, 60.5%, 0%, 2.7%)
CIE-LABlab(52.86, 50.27, -69.78)
CIE-LCHlch(52.86, 86.00, 305.77°)
OKLaboklab(61.49% 0.0768 -0.1993)
OKLCHoklch(61.49% 0.214 291.1)
XYZxyz(31.7875, 20.9149, 91.1509)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62F8 #D0F862
analogous
#6285F8 #8A62F8 #D562F8
triadic
#8A62F8 #F88A62 #62F88A
tetradic
#8A62F8 #F86285 #D0F862 #62F8D5
square
#8A62F8 #F86285 #D0F862 #62F8D5
split-complementary
#8A62F8 #F8D562 #85F862
monochromatic
#400AD6 #5E27F5 #8A62F8 #B69DFB #E1D7FD

Accessibility & contrast

On white

4.05
#8A62F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8A62F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62F8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62F8#FFFFFF#000000##000000
##8A62F81.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#6984A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a62f8;
/* rgb */ color: rgb(138, 98, 248);
/* oklch */ color: oklch(61.5% 0.214 291.1);
Tailwind
colors: {
  custom: {
    50: '#b390fb',
    500: '#8a62f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a62f8;
$custom-light: #b390fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62f8",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 256,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.21358,
    "h": 291.1
  },
  "luminance": 0.20916
}

Semantic roles & 50–950 ramp

primary
#8A62F8
secondary
#E6F2C4
accent
#E600A8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A62F8

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

Preview Lab → · Contrast checker → · Palette generator →

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