#6A4CCE#6A4CCE

#6A4CCE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.191 H 288.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6A4CCE
RGBrgb(106, 76, 206)
HSLhsl(254, 57%, 55%)
HSVhsv(254, 63%, 81%)
CMYKcmyk(48.5%, 63.1%, 0%, 19.2%)
CIE-LABlab(42.29, 44.48, -63.28)
CIE-LCHlch(42.29, 77.35, 305.10°)
OKLaboklab(52.15% 0.0609 -0.1812)
OKLCHoklch(52.15% 0.191 288.6)
XYZxyz(19.6657, 12.6884, 59.7935)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CCE #B0CE4C
analogous
#4C6FCE #6A4CCE #AB4CCE
triadic
#6A4CCE #CE6A4C #4CCE6A
tetradic
#6A4CCE #CE4C6F #B0CE4C #4CCEAB
square
#6A4CCE #CE4C6F #B0CE4C #4CCEAB
split-complementary
#6A4CCE #CEAB4C #6FCE4C
monochromatic
#37227D #4D2FAD #6A4CCE #927CDB #BAACE8

Accessibility & contrast

On white

5.94
#6A4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6A4CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4CCE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4CCE#FFFFFF#000000##FFFFFF
##6A4CCE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#486B86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a4cce;
/* rgb */ color: rgb(106, 76, 206);
/* oklch */ color: oklch(52.1% 0.191 288.6);
Tailwind
colors: {
  custom: {
    50: '#9c80de',
    500: '#6a4cce',
    950: '#000000',
  },
}
SCSS
$custom: #6a4cce;
$custom-light: #9c80de;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4cce",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 253.846,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.19116,
    "h": 288.6
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#6A4CCE
secondary
#CAD6A0
accent
#E048BD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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