#8A62CF#8A62CF

#8A62CF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.8% C 0.163 H 298.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8A62CF
RGBrgb(138, 98, 207)
HSLhsl(262, 53%, 60%)
HSVhsv(262, 53%, 81%)
CMYKcmyk(33.3%, 52.7%, 0%, 18.8%)
CIE-LABlab(50.27, 39.39, -50.84)
CIE-LCHlch(50.27, 64.31, 307.77°)
OKLaboklab(58.76% 0.0769 -0.1436)
OKLCHoklch(58.76% 0.163 298.2)
XYZxyz(26.1086, 18.6433, 61.2424)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62CF #A7CF62
analogous
#6271CF #8A62CF #C062CF
triadic
#8A62CF #CF8A62 #62CF8A
tetradic
#8A62CF #CF6271 #A7CF62 #62CFC0
square
#8A62CF #CF6271 #A7CF62 #62CFC0
split-complementary
#8A62CF #CFC062 #71CF62
monochromatic
#4E2B8C #6939BB #8A62CF #AD91DD #D0C0EC

Accessibility & contrast

On white

4.44
#8A62CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8A62CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62CF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62CF#FFFFFF#000000##000000
##8A62CF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3878D3
Deuteranopia (green-blind)
#4377CC
Tritanopia (blue-blind)
#7B778F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a62cf;
/* rgb */ color: rgb(138, 98, 207);
/* oklch */ color: oklch(58.8% 0.163 298.2);
Tailwind
colors: {
  custom: {
    50: '#b090de',
    500: '#8a62cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a62cf;
$custom-light: #b090de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62cf",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 262.018,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58763,
    "c": 0.16294,
    "h": 298.2
  },
  "luminance": 0.18644
}

Semantic roles & 50–950 ramp

primary
#8A62CF
secondary
#CCDBB1
accent
#DD4BA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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