#8A62BF#8A62BF

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

Color values

HEX#8A62BF
RGBrgb(138, 98, 191)
HSLhsl(266, 42%, 57%)
HSVhsv(266, 49%, 75%)
CMYKcmyk(27.7%, 48.7%, 0%, 25.1%)
CIE-LABlab(49.37, 35.34, -43.07)
CIE-LCHlch(49.37, 55.71, 309.37°)
OKLaboklab(57.81% 0.0755 -0.1209)
OKLCHoklch(57.81% 0.143 302)
XYZxyz(24.2508, 17.9002, 51.4576)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62BF #97BF62
analogous
#6269BF #8A62BF #B862BF
triadic
#8A62BF #BF8A62 #62BF8A
tetradic
#8A62BF #BF6269 #97BF62 #62BFB8
square
#8A62BF #BF6269 #97BF62 #62BFB8
split-complementary
#8A62BF #BFB862 #69BF62
monochromatic
#4E3076 #6B42A2 #8A62BF #AA8DD1 #CBB9E2

Accessibility & contrast

On white

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

On black

4.58
#8A62BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A62BF#FFFFFF#000000##FFFFFF
##8A62BF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#5075BD
Tritanopia (blue-blind)
#807387
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a62bf;
/* rgb */ color: rgb(138, 98, 191);
/* oklch */ color: oklch(57.8% 0.143 302.0);
Tailwind
colors: {
  custom: {
    50: '#ae8fd3',
    500: '#8a62bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a62bf;
$custom-light: #ae8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62bf",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 265.806,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5781,
    "c": 0.14258,
    "h": 302
  },
  "luminance": 0.179
}

Semantic roles & 50–950 ramp

primary
#8A62BF
secondary
#C1D1AB
accent
#D2569D
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A62BF

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

Preview Lab → · Contrast checker → · Palette generator →

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