#8B62BA#8B62BA

#8B62BA is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.6% C 0.136 H 303.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8B62BA
RGBrgb(139, 98, 186)
HSLhsl(268, 39%, 56%)
HSVhsv(268, 47%, 73%)
CMYKcmyk(25.3%, 47.3%, 0%, 27.1%)
CIE-LABlab(49.22, 34.38, -40.42)
CIE-LCHlch(49.22, 53.07, 310.38°)
OKLaboklab(57.63% 0.0762 -0.1132)
OKLCHoklch(57.63% 0.136 303.9)
XYZxyz(23.8762, 17.7696, 48.6169)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B62BA #91BA62
analogous
#6265BA #8B62BA #B762BA
triadic
#8B62BA #BA8B62 #62BA8B
tetradic
#8B62BA #BA6265 #91BA62 #62BAB7
square
#8B62BA #BA6265 #91BA62 #62BAB7
split-complementary
#8B62BA #BAB762 #65BA62
monochromatic
#4F3170 #6C449B #8B62BA #AA8DCD #CAB7DF

Accessibility & contrast

On white

4.61
#8B62BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8B62BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B62BA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B62BA#FFFFFF#000000##FFFFFF
##8B62BA1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#837185
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b62ba;
/* rgb */ color: rgb(139, 98, 186);
/* oklch */ color: oklch(57.6% 0.136 303.9);
Tailwind
colors: {
  custom: {
    50: '#af8fcf',
    500: '#8b62ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b62ba;
$custom-light: #af8fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b62ba",
  "rgb": {
    "r": 139,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 267.955,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57629,
    "c": 0.13644,
    "h": 303.9
  },
  "luminance": 0.1777
}

Semantic roles & 50–950 ramp

primary
#8B62BA
secondary
#BDCEAA
accent
#CF5998
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8B62BA

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

Preview Lab → · Contrast checker → · Palette generator →

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