#8A62BE#8A62BE

#8A62BE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.8% C 0.141 H 302.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A62BE
RGBrgb(138, 98, 190)
HSLhsl(266, 41%, 56%)
HSVhsv(266, 48%, 75%)
CMYKcmyk(27.4%, 48.4%, 0%, 25.5%)
CIE-LABlab(49.32, 35.09, -42.58)
CIE-LCHlch(49.32, 55.17, 309.49°)
OKLaboklab(57.75% 0.0754 -0.1195)
OKLCHoklch(57.75% 0.141 302.3)
XYZxyz(24.1411, 17.8563, 50.8800)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62BE #96BE62
analogous
#6268BE #8A62BE #B862BE
triadic
#8A62BE #BE8A62 #62BE8A
tetradic
#8A62BE #BE6268 #96BE62 #62BEB8
square
#8A62BE #BE6268 #96BE62 #62BEB8
split-complementary
#8A62BE #BEB862 #68BE62
monochromatic
#4E3075 #6B42A0 #8A62BE #AA8DD0 #CBB9E2

Accessibility & contrast

On white

4.59
#8A62BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8A62BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A62BE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62BE#FFFFFF#000000##FFFFFF
##8A62BE1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4674C1
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#807287
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a62be;
/* rgb */ color: rgb(138, 98, 190);
/* oklch */ color: oklch(57.8% 0.141 302.3);
Tailwind
colors: {
  custom: {
    50: '#ae8fd2',
    500: '#8a62be',
    950: '#000000',
  },
}
SCSS
$custom: #8a62be;
$custom-light: #ae8fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62be",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 266.087,
    "s": 41.441,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57753,
    "c": 0.1413,
    "h": 302.3
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#8A62BE
secondary
#C0D1AB
accent
#D1579C
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A62BE

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

Preview Lab → · Contrast checker → · Palette generator →

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