#6A4FE6#6A4FE6

#6A4FE6 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.5% C 0.217 H 284.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6A4FE6
RGBrgb(106, 79, 230)
HSLhsl(251, 75%, 61%)
HSVhsv(251, 66%, 90%)
CMYKcmyk(53.9%, 65.7%, 0%, 9.8%)
CIE-LABlab(44.76, 49.78, -72.98)
CIE-LCHlch(44.76, 88.34, 304.30°)
OKLaboklab(54.51% 0.0554 -0.2097)
OKLCHoklch(54.51% 0.217 284.8)
XYZxyz(23.0184, 14.3680, 76.4080)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FE6 #CBE64F
analogous
#4F80E6 #6A4FE6 #B54FE6
triadic
#6A4FE6 #E66A4F #4FE66A
tetradic
#6A4FE6 #E64F80 #CBE64F #4FE6B5
square
#6A4FE6 #E64F80 #CBE64F #4FE6B5
split-complementary
#6A4FE6 #E6B54F #80E64F
monochromatic
#3017A3 #401FD9 #6A4FE6 #9785EE #C5BAF5

Accessibility & contrast

On white

5.42
#6A4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6A4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FE6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FE6#FFFFFF#000000##FFFFFF
##6A4FE61.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#337594
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a4fe6;
/* rgb */ color: rgb(106, 79, 230);
/* oklch */ color: oklch(54.5% 0.217 284.8);
Tailwind
colors: {
  custom: {
    50: '#9f82ef',
    500: '#6a4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fe6;
$custom-light: #9f82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fe6",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 250.728,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54506,
    "c": 0.2169,
    "h": 284.8
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#6A4FE6
secondary
#DBE5AC
accent
#D70EB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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