#6A4FE2#6A4FE2

#6A4FE2 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.212 H 285.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6A4FE2
RGBrgb(106, 79, 226)
HSLhsl(251, 72%, 60%)
HSVhsv(251, 65%, 89%)
CMYKcmyk(53.1%, 65%, 0%, 11.4%)
CIE-LABlab(44.44, 48.61, -71.22)
CIE-LCHlch(44.44, 86.23, 304.31°)
OKLaboklab(54.18% 0.0559 -0.2045)
OKLCHoklch(54.18% 0.212 285.3)
XYZxyz(22.4632, 14.1459, 73.4835)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FE2 #C7E24F
analogous
#4F7EE2 #6A4FE2 #B34FE2
triadic
#6A4FE2 #E26A4F #4FE26A
tetradic
#6A4FE2 #E24F7E #C7E24F #4FE2B3
square
#6A4FE2 #E24F7E #C7E24F #4FE2B3
split-complementary
#6A4FE2 #E2B34F #7EE24F
monochromatic
#321A9D #4322D1 #6A4FE2 #9684EB #C3B8F3

Accessibility & contrast

On white

5.48
#6A4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6A4FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FE2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FE2#FFFFFF#000000##FFFFFF
##6A4FE21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#387492
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a4fe2;
/* rgb */ color: rgb(106, 79, 226);
/* oklch */ color: oklch(54.2% 0.212 285.3);
Tailwind
colors: {
  custom: {
    50: '#9f82ec',
    500: '#6a4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fe2;
$custom-light: #9f82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fe2",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 251.02,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.21205,
    "h": 285.3
  },
  "luminance": 0.14147
}

Semantic roles & 50–950 ramp

primary
#6A4FE2
secondary
#D8E3AA
accent
#EE39CD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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