#6A4DE9#6A4DE9

#6A4DE9 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.223 H 284.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6A4DE9
RGBrgb(106, 77, 233)
HSLhsl(251, 78%, 61%)
HSVhsv(251, 67%, 91%)
CMYKcmyk(54.5%, 67%, 0%, 8.6%)
CIE-LABlab(44.59, 51.75, -74.94)
CIE-LCHlch(44.59, 91.07, 304.63°)
OKLaboklab(54.46% 0.0568 -0.2154)
OKLCHoklch(54.46% 0.223 284.8)
XYZxyz(23.3013, 14.2538, 78.5984)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4DE9 #CCE94D
analogous
#4D7EE9 #6A4DE9 #B84DE9
triadic
#6A4DE9 #E96A4D #4DE96A
tetradic
#6A4DE9 #E94D7E #CCE94D #4DE9B8
square
#6A4DE9 #E94D7E #CCE94D #4DE9B8
split-complementary
#6A4DE9 #E9B84D #7EE94D
monochromatic
#3015A7 #3F1BDD #6A4DE9 #9883F0 #C5BAF6

Accessibility & contrast

On white

5.45
#6A4DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6A4DE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4DE9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4DE9#FFFFFF#000000##FFFFFF
##6A4DE91.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#307595
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a4de9;
/* rgb */ color: rgb(106, 77, 233);
/* oklch */ color: oklch(54.5% 0.223 284.8);
Tailwind
colors: {
  custom: {
    50: '#a081f1',
    500: '#6a4de9',
    950: '#000000',
  },
}
SCSS
$custom: #6a4de9;
$custom-light: #a081f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4de9",
  "rgb": {
    "r": 106,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 251.154,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.2228,
    "h": 284.8
  },
  "luminance": 0.14255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A4DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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