#6A4FDE#6A4FDE

#6A4FDE is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.9% C 0.207 H 285.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6A4FDE
RGBrgb(106, 79, 222)
HSLhsl(251, 68%, 59%)
HSVhsv(251, 64%, 87%)
CMYKcmyk(52.3%, 64.4%, 0%, 12.9%)
CIE-LABlab(44.13, 47.44, -69.45)
CIE-LCHlch(44.13, 84.11, 304.34°)
OKLaboklab(53.86% 0.0564 -0.1993)
OKLCHoklch(53.86% 0.207 285.8)
XYZxyz(21.9207, 13.9289, 70.6266)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FDE #C3DE4F
analogous
#4F7CDE #6A4FDE #B24FDE
triadic
#6A4FDE #DE6A4F #4FDE6A
tetradic
#6A4FDE #DE4F7C #C3DE4F #4FDEB2
square
#6A4FDE #DE4F7C #C3DE4F #4FDEB2
split-complementary
#6A4FDE #DEB24F #7CDE4F
monochromatic
#331C96 #4526CA #6A4FDE #9683E8 #C1B6F1

Accessibility & contrast

On white

5.55
#6A4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6A4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FDE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FDE#FFFFFF#000000##FFFFFF
##6A4FDE1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#3B728F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a4fde;
/* rgb */ color: rgb(106, 79, 222);
/* oklch */ color: oklch(53.9% 0.207 285.8);
Tailwind
colors: {
  custom: {
    50: '#9e82e9',
    500: '#6a4fde',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fde;
$custom-light: #9e82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fde",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 251.329,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5386,
    "c": 0.20717,
    "h": 285.8
  },
  "luminance": 0.1393
}

Semantic roles & 50–950 ramp

primary
#6A4FDE
secondary
#D6E0A8
accent
#EB3DCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6A4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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