#6D4AE3#6D4AE3

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

Color values

HEX#6D4AE3
RGBrgb(109, 74, 227)
HSLhsl(254, 73%, 59%)
HSVhsv(254, 67%, 89%)
CMYKcmyk(52%, 67.4%, 0%, 11%)
CIE-LABlab(43.79, 52.12, -72.84)
CIE-LCHlch(43.79, 89.57, 305.58°)
OKLaboklab(53.8% 0.0643 -0.2092)
OKLCHoklch(53.8% 0.219 287.1)
XYZxyz(22.6165, 13.6937, 74.1096)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4AE3 #C0E34A
analogous
#4A74E3 #6D4AE3 #B94AE3
triadic
#6D4AE3 #E36D4A #4AE36D
tetradic
#6D4AE3 #E34A74 #C0E34A #4AE3B9
square
#6D4AE3 #E34A74 #C0E34A #4AE3B9
split-complementary
#6D4AE3 #E3B94A #74E34A
monochromatic
#36189B #4820D0 #6D4AE3 #987FEB #C3B4F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D4AE3#FFFFFF#000000##FFFFFF
##6D4AE31.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)
#006BE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#3F7191
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d4ae3;
/* rgb */ color: rgb(109, 74, 227);
/* oklch */ color: oklch(53.8% 0.219 287.1);
Tailwind
colors: {
  custom: {
    50: '#a17fed',
    500: '#6d4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #6d4ae3;
$custom-light: #a17fed;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4ae3",
  "rgb": {
    "r": 109,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 253.725,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.21886,
    "h": 287.1
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#6D4AE3
secondary
#D5E2A6
accent
#F038C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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