#6A4CE7#6A4CE7

#6A4CE7 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.222 H 285.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6A4CE7
RGBrgb(106, 76, 231)
HSLhsl(252, 76%, 60%)
HSVhsv(252, 67%, 91%)
CMYKcmyk(54.1%, 67.1%, 0%, 9.4%)
CIE-LABlab(44.23, 51.71, -74.39)
CIE-LCHlch(44.23, 90.60, 304.80°)
OKLaboklab(54.16% 0.0579 -0.2139)
OKLCHoklch(54.16% 0.222 285.2)
XYZxyz(22.9477, 14.0013, 77.0791)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CE7 #C9E74C
analogous
#4C7BE7 #6A4CE7 #B84CE7
triadic
#6A4CE7 #E76A4C #4CE76A
tetradic
#6A4CE7 #E74C7B #C9E74C #4CE7B8
square
#6A4CE7 #E74C7B #C9E74C #4CE7B8
split-complementary
#6A4CE7 #E7B84C #7BE74C
monochromatic
#3116A3 #411DD9 #6A4CE7 #9782EE #C4B8F5

Accessibility & contrast

On white

5.53
#6A4CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6A4CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4CE7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4CE7#FFFFFF#000000##FFFFFF
##6A4CE71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#337493
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a4ce7;
/* rgb */ color: rgb(106, 76, 231);
/* oklch */ color: oklch(54.2% 0.222 285.2);
Tailwind
colors: {
  custom: {
    50: '#a080f0',
    500: '#6a4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ce7;
$custom-light: #a080f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ce7",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 251.613,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.22156,
    "h": 285.2
  },
  "luminance": 0.14003
}

Semantic roles & 50–950 ramp

primary
#6A4CE7
secondary
#DAE5AA
accent
#D90DB1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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