#8A62C8#8A62C8

#8A62C8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.3% C 0.154 H 299.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A62C8
RGBrgb(138, 98, 200)
HSLhsl(264, 48%, 58%)
HSVhsv(264, 51%, 78%)
CMYKcmyk(31%, 51%, 0%, 21.6%)
CIE-LABlab(49.87, 37.60, -47.47)
CIE-LCHlch(49.87, 60.56, 308.38°)
OKLaboklab(58.34% 0.0764 -0.1338)
OKLCHoklch(58.34% 0.154 299.7)
XYZxyz(25.2718, 18.3086, 56.8349)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62C8 #A0C862
analogous
#626DC8 #8A62C8 #BD62C8
triadic
#8A62C8 #C88A62 #62C88A
tetradic
#8A62C8 #C8626D #A0C862 #62C8BD
square
#8A62C8 #C8626D #A0C862 #62C8BD
split-complementary
#8A62C8 #C8BD62 #6DC862
monochromatic
#4F2E82 #6A3DAF #8A62C8 #AC8FD8 #CEBDE8

Accessibility & contrast

On white

4.50
#8A62C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8A62C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62C8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62C8#FFFFFF#000000##000000
##8A62C81.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CC
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#7D758C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a62c8;
/* rgb */ color: rgb(138, 98, 200);
/* oklch */ color: oklch(58.3% 0.154 299.7);
Tailwind
colors: {
  custom: {
    50: '#af90d9',
    500: '#8a62c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a62c8;
$custom-light: #af90d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62c8",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 263.529,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58338,
    "c": 0.15406,
    "h": 299.7
  },
  "luminance": 0.18309
}

Semantic roles & 50–950 ramp

primary
#8A62C8
secondary
#C7D7AF
accent
#D850A3
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A62C8

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

Preview Lab → · Contrast checker → · Palette generator →

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