#6A4CE3#6A4CE3

#6A4CE3 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.8% C 0.217 H 285.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6A4CE3
RGBrgb(106, 76, 227)
HSLhsl(252, 73%, 59%)
HSVhsv(252, 67%, 89%)
CMYKcmyk(53.3%, 66.5%, 0%, 11%)
CIE-LABlab(43.91, 50.55, -72.65)
CIE-LCHlch(43.91, 88.51, 304.83°)
OKLaboklab(53.82% 0.0585 -0.2087)
OKLCHoklch(53.82% 0.217 285.7)
XYZxyz(22.3893, 13.7779, 74.1378)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CE3 #C5E34C
analogous
#4C79E3 #6A4CE3 #B64CE3
triadic
#6A4CE3 #E36A4C #4CE36A
tetradic
#6A4CE3 #E34C79 #C5E34C #4CE3B6
square
#6A4CE3 #E34C79 #C5E34C #4CE3B6
split-complementary
#6A4CE3 #E3B64C #79E34C
monochromatic
#33189C #4421D1 #6A4CE3 #9681EB #C2B6F4

Accessibility & contrast

On white

5.59
#6A4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6A4CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4CE3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4CE3#FFFFFF#000000##FFFFFF
##6A4CE31.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#377291
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a4ce3;
/* rgb */ color: rgb(106, 76, 227);
/* oklch */ color: oklch(53.8% 0.217 285.7);
Tailwind
colors: {
  custom: {
    50: '#9f80ed',
    500: '#6a4ce3',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ce3;
$custom-light: #9f80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ce3",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 251.921,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53824,
    "c": 0.21678,
    "h": 285.7
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

primary
#6A4CE3
secondary
#D7E3A8
accent
#F038CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A4CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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