#6A4FD8#6A4FD8

#6A4FD8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.200 H 286.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6A4FD8
RGBrgb(106, 79, 216)
HSLhsl(252, 64%, 58%)
HSVhsv(252, 63%, 85%)
CMYKcmyk(50.9%, 63.4%, 0%, 15.3%)
CIE-LABlab(43.67, 45.69, -66.78)
CIE-LCHlch(43.67, 80.91, 304.38°)
OKLaboklab(53.38% 0.057 -0.1915)
OKLCHoklch(53.38% 0.2 286.6)
XYZxyz(21.1308, 13.6130, 66.4666)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FD8 #BDD84F
analogous
#4F78D8 #6A4FD8 #AF4FD8
triadic
#6A4FD8 #D86A4F #4FD86A
tetradic
#6A4FD8 #D84F78 #BDD84F #4FD8AF
square
#6A4FD8 #D84F78 #BDD84F #4FD8AF
split-complementary
#6A4FD8 #D8AF4F #78D84F
monochromatic
#351F8D #482ABF #6A4FD8 #9481E3 #BFB3EE

Accessibility & contrast

On white

5.64
#6A4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6A4FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FD8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FD8#FFFFFF#000000##FFFFFF
##6A4FD81.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#41708C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a4fd8;
/* rgb */ color: rgb(106, 79, 216);
/* oklch */ color: oklch(53.4% 0.200 286.6);
Tailwind
colors: {
  custom: {
    50: '#9d82e5',
    500: '#6a4fd8',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fd8;
$custom-light: #9d82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fd8",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 251.825,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53384,
    "c": 0.19978,
    "h": 286.6
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#6A4FD8
secondary
#D2DDA6
accent
#E741C6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6A4FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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