#8A62CE#8A62CE

#8A62CE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.162 H 298.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A62CE
RGBrgb(138, 98, 206)
HSLhsl(262, 52%, 60%)
HSVhsv(262, 52%, 81%)
CMYKcmyk(33%, 52.4%, 0%, 19.2%)
CIE-LABlab(50.21, 39.13, -50.36)
CIE-LCHlch(50.21, 63.78, 307.85°)
OKLaboklab(58.7% 0.0768 -0.1422)
OKLCHoklch(58.7% 0.162 298.4)
XYZxyz(25.9868, 18.5946, 60.6006)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62CE #A6CE62
analogous
#6270CE #8A62CE #C062CE
triadic
#8A62CE #CE8A62 #62CE8A
tetradic
#8A62CE #CE6270 #A6CE62 #62CEC0
square
#8A62CE #CE6270 #A6CE62 #62CEC0
split-complementary
#8A62CE #CEC062 #70CE62
monochromatic
#4E2B8A #693AB9 #8A62CE #AD91DD #D0BFEB

Accessibility & contrast

On white

4.45
#8A62CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A62CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62CE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62CE#FFFFFF#000000##000000
##8A62CE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3978D2
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#7B778F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a62ce;
/* rgb */ color: rgb(138, 98, 206);
/* oklch */ color: oklch(58.7% 0.162 298.4);
Tailwind
colors: {
  custom: {
    50: '#af90dd',
    500: '#8a62ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a62ce;
$custom-light: #af90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62ce",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 262.222,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58701,
    "c": 0.16168,
    "h": 298.4
  },
  "luminance": 0.18595
}

Semantic roles & 50–950 ramp

primary
#8A62CE
secondary
#CBDBB1
accent
#DC4CA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A62CE

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

Preview Lab → · Contrast checker → · Palette generator →

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