#6A4FEA#6A4FEA

#6A4FEA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.8% C 0.222 H 284.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6A4FEA
RGBrgb(106, 79, 234)
HSLhsl(250, 79%, 61%)
HSVhsv(250, 66%, 92%)
CMYKcmyk(54.7%, 66.2%, 0%, 8.2%)
CIE-LABlab(45.07, 50.95, -74.72)
CIE-LCHlch(45.07, 90.44, 304.29°)
OKLaboklab(54.84% 0.0549 -0.2148)
OKLCHoklch(54.84% 0.222 284.3)
XYZxyz(23.5866, 14.5953, 79.4003)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FEA #CFEA4F
analogous
#4F82EA #6A4FEA #B84FEA
triadic
#6A4FEA #EA6A4F #4FEA6A
tetradic
#6A4FEA #EA4F82 #CFEA4F #4FEAB8
square
#6A4FEA #EA4F82 #CFEA4F #4FEAB8
split-complementary
#6A4FEA #EAB84F #82EA4F
monochromatic
#2E14AA #3D1BE1 #6A4FEA #9886F1 #C7BCF7

Accessibility & contrast

On white

5.36
#6A4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6A4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FEA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FEA#FFFFFF#000000##FFFFFF
##6A4FEA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#2E7796
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a4fea;
/* rgb */ color: rgb(106, 79, 234);
/* oklch */ color: oklch(54.8% 0.222 284.3);
Tailwind
colors: {
  custom: {
    50: '#a082f2',
    500: '#6a4fea',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fea;
$custom-light: #a082f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fea",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 250.452,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.22172,
    "h": 284.3
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#6A4FEA
secondary
#DDE7AD
accent
#DB0BB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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