#6D4AE5#6D4AE5

#6D4AE5 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.221 H 286.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6D4AE5
RGBrgb(109, 74, 229)
HSLhsl(254, 75%, 59%)
HSVhsv(254, 68%, 90%)
CMYKcmyk(52.4%, 67.7%, 0%, 10.2%)
CIE-LABlab(43.95, 52.69, -73.71)
CIE-LCHlch(43.95, 90.61, 305.56°)
OKLaboklab(53.97% 0.064 -0.2118)
OKLCHoklch(53.97% 0.221 286.8)
XYZxyz(22.8941, 13.8047, 75.5718)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4AE5 #C2E54A
analogous
#4A75E5 #6D4AE5 #BA4AE5
triadic
#6D4AE5 #E56D4A #4AE56D
tetradic
#6D4AE5 #E54A75 #C2E54A #4AE5BA
square
#6D4AE5 #E54A75 #C2E54A #4AE5BA
split-complementary
#6D4AE5 #E5BA4A #75E54A
monochromatic
#35179E #471ED3 #6D4AE5 #9880ED #C3B5F4

Accessibility & contrast

On white

5.58
#6D4AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6D4AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4AE5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4AE5#FFFFFF#000000##FFFFFF
##6D4AE51.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#3D7292
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6d4ae5;
/* rgb */ color: rgb(109, 74, 229);
/* oklch */ color: oklch(54.0% 0.221 286.8);
Tailwind
colors: {
  custom: {
    50: '#a17fee',
    500: '#6d4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #6d4ae5;
$custom-light: #a17fee;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4ae5",
  "rgb": {
    "r": 109,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 253.548,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53968,
    "c": 0.22122,
    "h": 286.8
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#6D4AE5
secondary
#D6E4A7
accent
#F136C7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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