#6A4DE8#6A4DE8

#6A4DE8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.222 H 284.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6A4DE8
RGBrgb(106, 77, 232)
HSLhsl(251, 77%, 61%)
HSVhsv(251, 67%, 91%)
CMYKcmyk(54.3%, 66.8%, 0%, 9%)
CIE-LABlab(44.51, 51.46, -74.50)
CIE-LCHlch(44.51, 90.55, 304.63°)
OKLaboklab(54.38% 0.0569 -0.2142)
OKLCHoklch(54.38% 0.222 284.9)
XYZxyz(23.1588, 14.1968, 77.8482)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4DE8 #CBE84D
analogous
#4D7DE8 #6A4DE8 #B74DE8
triadic
#6A4DE8 #E86A4D #4DE86A
tetradic
#6A4DE8 #E84D7D #CBE84D #4DE8B7
square
#6A4DE8 #E84D7D #CBE84D #4DE8B7
split-complementary
#6A4DE8 #E8B74D #7DE84D
monochromatic
#3015A5 #401CDB #6A4DE8 #9783EF #C5B9F6

Accessibility & contrast

On white

5.47
#6A4DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6A4DE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4DE8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4DE8#FFFFFF#000000##FFFFFF
##6A4DE81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#317594
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a4de8;
/* rgb */ color: rgb(106, 77, 232);
/* oklch */ color: oklch(54.4% 0.222 284.9);
Tailwind
colors: {
  custom: {
    50: '#a081f0',
    500: '#6a4de8',
    950: '#000000',
  },
}
SCSS
$custom: #6a4de8;
$custom-light: #a081f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4de8",
  "rgb": {
    "r": 106,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 251.226,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54381,
    "c": 0.22161,
    "h": 284.9
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

primary
#6A4DE8
secondary
#DBE6AB
accent
#D90CB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A4DE8

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

Preview Lab → · Contrast checker → · Palette generator →

#6A4DE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva