#6A4FE7#6A4FE7

#6A4FE7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.218 H 284.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6A4FE7
RGBrgb(106, 79, 231)
HSLhsl(251, 76%, 61%)
HSVhsv(251, 66%, 91%)
CMYKcmyk(54.1%, 65.8%, 0%, 9.4%)
CIE-LABlab(44.84, 50.07, -73.41)
CIE-LCHlch(44.84, 88.86, 304.30°)
OKLaboklab(54.59% 0.0553 -0.211)
OKLCHoklch(54.59% 0.218 284.7)
XYZxyz(23.1593, 14.4243, 77.1496)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FE7 #CCE74F
analogous
#4F80E7 #6A4FE7 #B64FE7
triadic
#6A4FE7 #E76A4F #4FE76A
tetradic
#6A4FE7 #E74F80 #CCE74F #4FE7B6
square
#6A4FE7 #E74F80 #CCE74F #4FE7B6
split-complementary
#6A4FE7 #E7B64F #80E74F
monochromatic
#3017A5 #3F1EDB #6A4FE7 #9885EE #C5BBF6

Accessibility & contrast

On white

5.41
#6A4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6A4FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FE7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FE7#FFFFFF#000000##FFFFFF
##6A4FE71.005.413.895.41
#FFFFFF5.411.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#327594
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a4fe7;
/* rgb */ color: rgb(106, 79, 231);
/* oklch */ color: oklch(54.6% 0.218 284.7);
Tailwind
colors: {
  custom: {
    50: '#a082f0',
    500: '#6a4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fe7;
$custom-light: #a082f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fe7",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 250.658,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.21811,
    "h": 284.7
  },
  "luminance": 0.14426
}

Semantic roles & 50–950 ramp

primary
#6A4FE7
secondary
#DBE6AC
accent
#D80DB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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