#6A4EE9#6A4EE9

#6A4EE9 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.222 H 284.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6A4EE9
RGBrgb(106, 78, 233)
HSLhsl(251, 78%, 61%)
HSVhsv(251, 67%, 91%)
CMYKcmyk(54.5%, 66.5%, 0%, 8.6%)
CIE-LABlab(44.79, 51.21, -74.61)
CIE-LCHlch(44.79, 90.49, 304.46°)
OKLaboklab(54.61% 0.0559 -0.2145)
OKLCHoklch(54.61% 0.222 284.6)
XYZxyz(23.3718, 14.3948, 78.6219)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4EE9 #CDE94E
analogous
#4E7FE9 #6A4EE9 #B74EE9
triadic
#6A4EE9 #E96A4E #4EE96A
tetradic
#6A4EE9 #E94E7F #CDE94E #4EE9B7
square
#6A4EE9 #E94E7F #CDE94E #4EE9B7
split-complementary
#6A4EE9 #E9B74E #7FE94E
monochromatic
#2F15A8 #3F1CDE #6A4EE9 #9884F0 #C6BBF7

Accessibility & contrast

On white

5.41
#6A4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6A4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4EE9
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4EE9#FFFFFF#000000##FFFFFF
##6A4EE91.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#307695
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a4ee9;
/* rgb */ color: rgb(106, 78, 233);
/* oklch */ color: oklch(54.6% 0.222 284.6);
Tailwind
colors: {
  custom: {
    50: '#a082f1',
    500: '#6a4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ee9;
$custom-light: #a082f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ee9",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 250.839,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.22167,
    "h": 284.6
  },
  "luminance": 0.14396
}

Semantic roles & 50–950 ramp

primary
#6A4EE9
secondary
#DCE7AC
accent
#DA0BB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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