#8A62DF#8A62DF

#8A62DF is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.8% C 0.183 H 295.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A62DF
RGBrgb(138, 98, 223)
HSLhsl(259, 66%, 63%)
HSVhsv(259, 56%, 87%)
CMYKcmyk(38.1%, 56.1%, 0%, 12.5%)
CIE-LABlab(51.23, 43.57, -58.39)
CIE-LCHlch(51.23, 72.85, 306.73°)
OKLaboklab(59.78% 0.0774 -0.1658)
OKLCHoklch(59.78% 0.183 295)
XYZxyz(28.1647, 19.4658, 72.0711)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62DF #B7DF62
analogous
#6278DF #8A62DF #C962DF
triadic
#8A62DF #DF8A62 #62DF8A
tetradic
#8A62DF #DF6278 #B7DF62 #62DFC9
square
#8A62DF #DF6278 #B7DF62 #62DFC9
split-complementary
#8A62DF #DFC962 #78DF62
monochromatic
#4C22A5 #642FD5 #8A62DF #B095E9 #D6C8F4

Accessibility & contrast

On white

4.29
#8A62DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62DF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62DF#FFFFFF#000000##000000
##8A62DF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#227BE3
Deuteranopia (green-blind)
#3178DC
Tritanopia (blue-blind)
#757C97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a62df;
/* rgb */ color: rgb(138, 98, 223);
/* oklch */ color: oklch(59.8% 0.183 295.0);
Tailwind
colors: {
  custom: {
    50: '#b190ea',
    500: '#8a62df',
    950: '#000000',
  },
}
SCSS
$custom: #8a62df;
$custom-light: #b190ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62df",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 259.2,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59781,
    "c": 0.183,
    "h": 295
  },
  "luminance": 0.19466
}

Semantic roles & 50–950 ramp

primary
#8A62DF
secondary
#D6E5B8
accent
#CE1794
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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