#6A4FE8#6A4FE8

#6A4FE8 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.219 H 284.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6A4FE8
RGBrgb(106, 79, 232)
HSLhsl(251, 77%, 61%)
HSVhsv(251, 66%, 91%)
CMYKcmyk(54.3%, 65.9%, 0%, 9%)
CIE-LABlab(44.91, 50.37, -73.85)
CIE-LCHlch(44.91, 89.39, 304.29°)
OKLaboklab(54.67% 0.0552 -0.2123)
OKLCHoklch(54.67% 0.219 284.6)
XYZxyz(23.3009, 14.4810, 77.8956)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FE8 #CDE84F
analogous
#4F80E8 #6A4FE8 #B64FE8
triadic
#6A4FE8 #E86A4F #4FE86A
tetradic
#6A4FE8 #E84F80 #CDE84F #4FE8B6
square
#6A4FE8 #E84F80 #CDE84F #4FE8B6
split-complementary
#6A4FE8 #E8B64F #80E84F
monochromatic
#2F16A7 #3F1DDD #6A4FE8 #9885EF #C6BBF6

Accessibility & contrast

On white

5.39
#6A4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6A4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FE8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FE8#FFFFFF#000000##FFFFFF
##6A4FE81.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#317695
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a4fe8;
/* rgb */ color: rgb(106, 79, 232);
/* oklch */ color: oklch(54.7% 0.219 284.6);
Tailwind
colors: {
  custom: {
    50: '#a082f0',
    500: '#6a4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fe8;
$custom-light: #a082f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fe8",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 250.588,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5467,
    "c": 0.21932,
    "h": 284.6
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#6A4FE8
secondary
#DCE6AD
accent
#D90CB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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