#8A62BD#8A62BD

#8A62BD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.7% C 0.140 H 302.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A62BD
RGBrgb(138, 98, 189)
HSLhsl(266, 41%, 56%)
HSVhsv(266, 48%, 74%)
CMYKcmyk(27%, 48.1%, 0%, 25.9%)
CIE-LABlab(49.27, 34.84, -42.08)
CIE-LCHlch(49.27, 54.63, 309.62°)
OKLaboklab(57.7% 0.0753 -0.118)
OKLCHoklch(57.7% 0.14 302.5)
XYZxyz(24.0322, 17.8128, 50.3064)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62BD #95BD62
analogous
#6268BD #8A62BD #B862BD
triadic
#8A62BD #BD8A62 #62BD8A
tetradic
#8A62BD #BD6268 #95BD62 #62BDB8
square
#8A62BD #BD6268 #95BD62 #62BDB8
split-complementary
#8A62BD #BDB862 #68BD62
monochromatic
#4E3174 #6B439F #8A62BD #AA8DCF #CAB8E1

Accessibility & contrast

On white

4.60
#8A62BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8A62BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A62BD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62BD#FFFFFF#000000##FFFFFF
##8A62BD1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4774C0
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#817286
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a62bd;
/* rgb */ color: rgb(138, 98, 189);
/* oklch */ color: oklch(57.7% 0.140 302.5);
Tailwind
colors: {
  custom: {
    50: '#ae8fd1',
    500: '#8a62bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a62bd;
$custom-light: #ae8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62bd",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 266.374,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57696,
    "c": 0.14002,
    "h": 302.5
  },
  "luminance": 0.17813
}

Semantic roles & 50–950 ramp

primary
#8A62BD
secondary
#C0D0AB
accent
#D1579B
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A62BD

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

Preview Lab → · Contrast checker → · Palette generator →

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