#6A4FE5#6A4FE5

#6A4FE5 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.216 H 284.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6A4FE5
RGBrgb(106, 79, 229)
HSLhsl(251, 74%, 60%)
HSVhsv(251, 66%, 90%)
CMYKcmyk(53.7%, 65.5%, 0%, 10.2%)
CIE-LABlab(44.68, 49.49, -72.54)
CIE-LCHlch(44.68, 87.81, 304.30°)
OKLaboklab(54.43% 0.0556 -0.2084)
OKLCHoklch(54.43% 0.216 284.9)
XYZxyz(22.8784, 14.3120, 75.6705)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FE5 #CAE54F
analogous
#4F7FE5 #6A4FE5 #B54FE5
triadic
#6A4FE5 #E56A4F #4FE56A
tetradic
#6A4FE5 #E54F7F #CAE54F #4FE5B5
square
#6A4FE5 #E54F7F #CAE54F #4FE5B5
split-complementary
#6A4FE5 #E5B54F #7FE54F
monochromatic
#3118A2 #4120D7 #6A4FE5 #9784ED #C4BAF5

Accessibility & contrast

On white

5.44
#6A4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6A4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FE5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FE5#FFFFFF#000000##FFFFFF
##6A4FE51.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#347593
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a4fe5;
/* rgb */ color: rgb(106, 79, 229);
/* oklch */ color: oklch(54.4% 0.216 284.9);
Tailwind
colors: {
  custom: {
    50: '#9f82ee',
    500: '#6a4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fe5;
$custom-light: #9f82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fe5",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 250.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54425,
    "c": 0.21569,
    "h": 284.9
  },
  "luminance": 0.14313
}

Semantic roles & 50–950 ramp

primary
#6A4FE5
secondary
#DAE5AB
accent
#D60FB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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