#6D4AEF#6D4AEF

#6D4AEF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.233 H 285.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6D4AEF
RGBrgb(109, 74, 239)
HSLhsl(253, 84%, 61%)
HSVhsv(253, 69%, 94%)
CMYKcmyk(54.4%, 69%, 0%, 6.3%)
CIE-LABlab(44.77, 55.53, -78.02)
CIE-LCHlch(44.77, 95.76, 305.44°)
OKLaboklab(54.81% 0.0623 -0.2244)
OKLCHoklch(54.81% 0.233 285.5)
XYZxyz(24.3307, 14.3794, 83.1381)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4AEF #CCEF4A
analogous
#4A7AEF #6D4AEF #BF4AEF
triadic
#6D4AEF #EF6D4A #4AEF6D
tetradic
#6D4AEF #EF4A7A #CCEF4A #4AEFBF
square
#6D4AEF #EF4A7A #CCEF4A #4AEFBF
split-complementary
#6D4AEF #EFBF4A #7AEF4A
monochromatic
#310FAF #4114E7 #6D4AEF #9A82F4 #C8BAF9

Accessibility & contrast

On white

5.42
#6D4AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D4AEF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4AEF#FFFFFF#000000##FFFFFF
##6D4AEF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#327597
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d4aef;
/* rgb */ color: rgb(109, 74, 239);
/* oklch */ color: oklch(54.8% 0.233 285.5);
Tailwind
colors: {
  custom: {
    50: '#a37ff5',
    500: '#6d4aef',
    950: '#000000',
  },
}
SCSS
$custom: #6d4aef;
$custom-light: #a37ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4aef",
  "rgb": {
    "r": 109,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 252.727,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.2329,
    "h": 285.5
  },
  "luminance": 0.14381
}

Semantic roles & 50–950 ramp

primary
#6D4AEF
secondary
#DCE9AC
accent
#E005B2
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D4AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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