#6A4BC7#6A4BC7

#6A4BC7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.184 H 289.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6A4BC7
RGBrgb(106, 75, 199)
HSLhsl(255, 53%, 54%)
HSVhsv(255, 62%, 78%)
CMYKcmyk(46.7%, 62.3%, 0%, 22%)
CIE-LABlab(41.56, 43.03, -60.41)
CIE-LCHlch(41.56, 74.17, 305.46°)
OKLaboklab(51.45% 0.0625 -0.1728)
OKLCHoklch(51.45% 0.184 289.9)
XYZxyz(18.7658, 12.2191, 55.3915)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BC7 #A8C74B
analogous
#4B6AC7 #6A4BC7 #A84BC7
triadic
#6A4BC7 #C76A4B #4BC76A
tetradic
#6A4BC7 #C74B6A #A8C74B #4BC7A8
square
#6A4BC7 #C74B6A #A8C74B #4BC7A8
split-complementary
#6A4BC7 #C7A84B #6AC74B
monochromatic
#382474 #4E32A2 #6A4BC7 #917AD6 #B7A8E4

Accessibility & contrast

On white

6.10
#6A4BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6A4BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4BC7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4BC7#FFFFFF#000000##FFFFFF
##6A4BC71.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#4D6882
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a4bc7;
/* rgb */ color: rgb(106, 75, 199);
/* oklch */ color: oklch(51.5% 0.184 289.9);
Tailwind
colors: {
  custom: {
    50: '#9c7fd9',
    500: '#6a4bc7',
    950: '#000000',
  },
}
SCSS
$custom: #6a4bc7;
$custom-light: #9c7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4bc7",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 255,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.18374,
    "h": 289.9
  },
  "luminance": 0.1222
}

Semantic roles & 50–950 ramp

primary
#6A4BC7
secondary
#C4D19C
accent
#DC4CB8
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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