#6A4AE6#6A4AE6

#6A4AE6 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.223 H 285.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6A4AE6
RGBrgb(106, 74, 230)
HSLhsl(252, 76%, 60%)
HSVhsv(252, 68%, 90%)
CMYKcmyk(53.9%, 67.8%, 0%, 9.8%)
CIE-LABlab(43.76, 52.50, -74.60)
CIE-LCHlch(43.76, 91.22, 305.13°)
OKLaboklab(53.79% 0.0598 -0.2145)
OKLCHoklch(53.79% 0.223 285.6)
XYZxyz(22.6713, 13.6736, 76.2922)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4AE6 #C6E64A
analogous
#4A78E6 #6A4AE6 #B84AE6
triadic
#6A4AE6 #E66A4A #4AE66A
tetradic
#6A4AE6 #E64A78 #C6E64A #4AE6B8
square
#6A4AE6 #E64A78 #C6E64A #4AE6B8
split-complementary
#6A4AE6 #E6B84A #78E64A
monochromatic
#3216A0 #431DD5 #6A4AE6 #9680ED #C3B6F5

Accessibility & contrast

On white

5.62
#6A4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6A4AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4AE6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4AE6#FFFFFF#000000##FFFFFF
##6A4AE61.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#347292
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a4ae6;
/* rgb */ color: rgb(106, 74, 230);
/* oklch */ color: oklch(53.8% 0.223 285.6);
Tailwind
colors: {
  custom: {
    50: '#a07fef',
    500: '#6a4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ae6;
$custom-light: #a07fef;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ae6",
  "rgb": {
    "r": 106,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 252.308,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.22264,
    "h": 285.6
  },
  "luminance": 0.13675
}

Semantic roles & 50–950 ramp

primary
#6A4AE6
secondary
#D8E4A8
accent
#F235CC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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