#6A4DEF#6A4DEF

#6A4DEF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.230 H 284.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6A4DEF
RGBrgb(106, 77, 239)
HSLhsl(251, 84%, 62%)
HSVhsv(251, 68%, 94%)
CMYKcmyk(55.6%, 67.8%, 0%, 6.3%)
CIE-LABlab(45.08, 53.49, -77.52)
CIE-LCHlch(45.08, 94.18, 304.61°)
OKLaboklab(54.97% 0.0559 -0.223)
OKLCHoklch(54.97% 0.23 284.1)
XYZxyz(24.1730, 14.6025, 83.1894)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4DEF #D2EF4D
analogous
#4D81EF #6A4DEF #BB4DEF
triadic
#6A4DEF #EF6A4D #4DEF6A
tetradic
#6A4DEF #EF4D81 #D2EF4D #4DEFBB
square
#6A4DEF #EF4D81 #D2EF4D #4DEFBB
split-complementary
#6A4DEF #EFBB4D #81EF4D
monochromatic
#2D10B2 #3B15EA #6A4DEF #9985F4 #C8BDF9

Accessibility & contrast

On white

5.36
#6A4DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6A4DEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4DEF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4DEF#FFFFFF#000000##FFFFFF
##6A4DEF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#287798
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a4def;
/* rgb */ color: rgb(106, 77, 239);
/* oklch */ color: oklch(55.0% 0.230 284.1);
Tailwind
colors: {
  custom: {
    50: '#a181f5',
    500: '#6a4def',
    950: '#000000',
  },
}
SCSS
$custom: #6a4def;
$custom-light: #a181f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4def",
  "rgb": {
    "r": 106,
    "g": 77,
    "b": 239
  },
  "hsl": {
    "h": 250.741,
    "s": 83.505,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54968,
    "c": 0.22991,
    "h": 284.1
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#6A4DEF
secondary
#DFEAAE
accent
#E006B9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A4DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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