#8A62DB#8A62DB

#8A62DB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.5% C 0.178 H 295.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A62DB
RGBrgb(138, 98, 219)
HSLhsl(260, 63%, 62%)
HSVhsv(260, 55%, 86%)
CMYKcmyk(37%, 55.3%, 0%, 14.1%)
CIE-LABlab(50.98, 42.51, -56.52)
CIE-LCHlch(50.98, 70.73, 306.95°)
OKLaboklab(59.52% 0.0774 -0.1603)
OKLCHoklch(59.52% 0.178 295.8)
XYZxyz(27.6318, 19.2526, 69.2644)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62DB #B3DB62
analogous
#6277DB #8A62DB #C762DB
triadic
#8A62DB #DB8A62 #62DB8A
tetradic
#8A62DB #DB6277 #B3DB62 #62DBC7
square
#8A62DB #DB6277 #B3DB62 #62DBC7
split-complementary
#8A62DB #DBC762 #77DB62
monochromatic
#4D249E #6530D0 #8A62DB #AF94E6 #D4C6F2

Accessibility & contrast

On white

4.33
#8A62DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8A62DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62DB#FFFFFF#000000##000000
##8A62DB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#3678D8
Tritanopia (blue-blind)
#777B95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a62db;
/* rgb */ color: rgb(138, 98, 219);
/* oklch */ color: oklch(59.5% 0.178 295.8);
Tailwind
colors: {
  custom: {
    50: '#b090e7',
    500: '#8a62db',
    950: '#000000',
  },
}
SCSS
$custom: #8a62db;
$custom-light: #b090e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62db",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 259.835,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59521,
    "c": 0.17803,
    "h": 295.8
  },
  "luminance": 0.19253
}

Semantic roles & 50–950 ramp

primary
#8A62DB
secondary
#D4E3B6
accent
#CA1B90
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A62DB

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

Preview Lab → · Contrast checker → · Palette generator →

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