#6A4FED#6A4FED

#6A4FED is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.225 H 284.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6A4FED
RGBrgb(106, 79, 237)
HSLhsl(250, 81%, 62%)
HSVhsv(250, 67%, 93%)
CMYKcmyk(55.3%, 66.7%, 0%, 7.1%)
CIE-LABlab(45.32, 51.83, -76.01)
CIE-LCHlch(45.32, 92.00, 304.29°)
OKLaboklab(55.08% 0.0545 -0.2186)
OKLCHoklch(55.08% 0.225 284)
XYZxyz(24.0212, 14.7691, 81.6893)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FED #D2ED4F
analogous
#4F83ED #6A4FED #B94FED
triadic
#6A4FED #ED6A4F #4FED6A
tetradic
#6A4FED #ED4F83 #D2ED4F #4FEDB9
square
#6A4FED #ED4F83 #D2ED4F #4FEDB9
split-complementary
#6A4FED #EDB94F #83ED4F
monochromatic
#2D12B0 #3B18E7 #6A4FED #9987F3 #C8BEF8

Accessibility & contrast

On white

5.31
#6A4FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6A4FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FED
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FED#FFFFFF#000000##FFFFFF
##6A4FED1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0066EA
Tritanopia (blue-blind)
#2A7898
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a4fed;
/* rgb */ color: rgb(106, 79, 237);
/* oklch */ color: oklch(55.1% 0.225 284.0);
Tailwind
colors: {
  custom: {
    50: '#a082f4',
    500: '#6a4fed',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fed;
$custom-light: #a082f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fed",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 250.253,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.2253,
    "h": 284
  },
  "luminance": 0.14771
}

Semantic roles & 50–950 ramp

primary
#6A4FED
secondary
#DFE9AF
accent
#DE08B9
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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