#6B49EC#6B49EC

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

Color values

HEX#6B49EC
RGBrgb(107, 73, 236)
HSLhsl(253, 81%, 61%)
HSVhsv(253, 69%, 93%)
CMYKcmyk(54.7%, 69.1%, 0%, 7.5%)
CIE-LABlab(44.16, 54.89, -77.35)
CIE-LCHlch(44.16, 94.85, 305.36°)
OKLaboklab(54.25% 0.061 -0.2225)
OKLCHoklch(54.25% 0.231 285.3)
XYZxyz(23.5817, 13.9457, 80.7898)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49EC #CAEC49
analogous
#4978EC #6B49EC #BC49EC
triadic
#6B49EC #EC6B49 #49EC6B
tetradic
#6B49EC #EC4978 #CAEC49 #49ECBC
square
#6B49EC #EC4978 #CAEC49 #49ECBC
split-complementary
#6B49EC #ECBC49 #78EC49
monochromatic
#3112A9 #4117E0 #6B49EC #9880F2 #C5B8F8

Accessibility & contrast

On white

5.54
#6B49EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6B49EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49EC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49EC#FFFFFF#000000##FFFFFF
##6B49EC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#307495
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b49ec;
/* rgb */ color: rgb(107, 73, 236);
/* oklch */ color: oklch(54.2% 0.231 285.3);
Tailwind
colors: {
  custom: {
    50: '#a17ff3',
    500: '#6b49ec',
    950: '#000000',
  },
}
SCSS
$custom: #6b49ec;
$custom-light: #a17ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49ec",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 252.515,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54247,
    "c": 0.23068,
    "h": 285.3
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#6B49EC
secondary
#DAE7A9
accent
#DD08B1
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B49EC

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

Preview Lab → · Contrast checker → · Palette generator →

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