#8A62DE#8A62DE

#8A62DE is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.182 H 295.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A62DE
RGBrgb(138, 98, 222)
HSLhsl(259, 65%, 63%)
HSVhsv(259, 56%, 87%)
CMYKcmyk(37.8%, 55.9%, 0%, 12.9%)
CIE-LABlab(51.17, 43.30, -57.92)
CIE-LCHlch(51.17, 72.32, 306.78°)
OKLaboklab(59.72% 0.0774 -0.1645)
OKLCHoklch(59.72% 0.182 295.2)
XYZxyz(28.0303, 19.4120, 71.3632)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62DE #B6DE62
analogous
#6278DE #8A62DE #C862DE
triadic
#8A62DE #DE8A62 #62DE8A
tetradic
#8A62DE #DE6278 #B6DE62 #62DEC8
square
#8A62DE #DE6278 #B6DE62 #62DEC8
split-complementary
#8A62DE #DEC862 #78DE62
monochromatic
#4C22A3 #642FD3 #8A62DE #B095E9 #D5C7F3

Accessibility & contrast

On white

4.30
#8A62DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8A62DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62DE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62DE#FFFFFF#000000##000000
##8A62DE1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#247BE2
Deuteranopia (green-blind)
#3278DB
Tritanopia (blue-blind)
#757C97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a62de;
/* rgb */ color: rgb(138, 98, 222);
/* oklch */ color: oklch(59.7% 0.182 295.2);
Tailwind
colors: {
  custom: {
    50: '#b190e9',
    500: '#8a62de',
    950: '#000000',
  },
}
SCSS
$custom: #8a62de;
$custom-light: #b190e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62de",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 259.355,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.18177,
    "h": 295.2
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#8A62DE
secondary
#D6E4B7
accent
#CD1893
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A62DE

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

Preview Lab → · Contrast checker → · Palette generator →

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