#6A4BE7#6A4BE7

#6A4BE7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.223 H 285.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6A4BE7
RGBrgb(106, 75, 231)
HSLhsl(252, 76%, 60%)
HSVhsv(252, 68%, 91%)
CMYKcmyk(54.1%, 67.5%, 0%, 9.4%)
CIE-LABlab(44.04, 52.25, -74.72)
CIE-LCHlch(44.04, 91.17, 304.96°)
OKLaboklab(54.02% 0.0588 -0.2148)
OKLCHoklch(54.02% 0.223 285.3)
XYZxyz(22.8794, 13.8646, 77.0564)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BE7 #C8E74B
analogous
#4B7AE7 #6A4BE7 #B84BE7
triadic
#6A4BE7 #E76A4B #4BE76A
tetradic
#6A4BE7 #E74B7A #C8E74B #4BE7B8
square
#6A4BE7 #E74B7A #C8E74B #4BE7B8
split-complementary
#6A4BE7 #E7B84B #7AE74B
monochromatic
#3116A2 #421DD8 #6A4BE7 #9781EE #C3B7F5

Accessibility & contrast

On white

5.57
#6A4BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6A4BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4BE7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4BE7#FFFFFF#000000##FFFFFF
##6A4BE71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#337393
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a4be7;
/* rgb */ color: rgb(106, 75, 231);
/* oklch */ color: oklch(54.0% 0.223 285.3);
Tailwind
colors: {
  custom: {
    50: '#a080f0',
    500: '#6a4be7',
    950: '#000000',
  },
}
SCSS
$custom: #6a4be7;
$custom-light: #a080f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4be7",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 251.923,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.2227,
    "h": 285.3
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

primary
#6A4BE7
secondary
#D9E5A9
accent
#F335CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A4BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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