#6A4CD2#6A4CD2

#6A4CD2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.196 H 288.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6A4CD2
RGBrgb(106, 76, 210)
HSLhsl(253, 60%, 56%)
HSVhsv(253, 64%, 82%)
CMYKcmyk(49.5%, 63.8%, 0%, 17.6%)
CIE-LABlab(42.59, 45.63, -65.10)
CIE-LCHlch(42.59, 79.50, 305.03°)
OKLaboklab(52.46% 0.0605 -0.1865)
OKLCHoklch(52.46% 0.196 288)
XYZxyz(20.1578, 12.8853, 62.3852)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CD2 #B4D24C
analogous
#4C71D2 #6A4CD2 #AD4CD2
triadic
#6A4CD2 #D26A4C #4CD26A
tetradic
#6A4CD2 #D24C71 #B4D24C #4CD2AD
square
#6A4CD2 #D24C71 #B4D24C #4CD2AD
split-complementary
#6A4CD2 #D2AD4C #71D24C
monochromatic
#372183 #4B2DB4 #6A4CD2 #937DDE #BBAEEB

Accessibility & contrast

On white

5.87
#6A4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6A4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4CD2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4CD2#FFFFFF#000000##FFFFFF
##6A4CD21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#456C88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a4cd2;
/* rgb */ color: rgb(106, 76, 210);
/* oklch */ color: oklch(52.5% 0.196 288.0);
Tailwind
colors: {
  custom: {
    50: '#9d80e1',
    500: '#6a4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #6a4cd2;
$custom-light: #9d80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4cd2",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 253.433,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.19611,
    "h": 288
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#6A4CD2
secondary
#CCD9A1
accent
#E345C0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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