#6B49C8#6B49C8

#6B49C8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.188 H 290.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6B49C8
RGBrgb(107, 73, 200)
HSLhsl(256, 54%, 54%)
HSVhsv(256, 64%, 78%)
CMYKcmyk(46.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(41.31, 44.64, -61.39)
CIE-LCHlch(41.31, 75.91, 306.02°)
OKLaboklab(51.32% 0.0659 -0.1756)
OKLCHoklch(51.32% 0.188 290.6)
XYZxyz(18.8683, 12.0603, 55.9661)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49C8 #A6C849
analogous
#4966C8 #6B49C8 #AA49C8
triadic
#6B49C8 #C86B49 #49C86B
tetradic
#6B49C8 #C84966 #A6C849 #49C8AA
square
#6B49C8 #C84966 #A6C849 #49C8AA
split-complementary
#6B49C8 #C8AA49 #66C849
monochromatic
#392374 #5031A3 #6B49C8 #9178D6 #B7A7E4

Accessibility & contrast

On white

6.15
#6B49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6B49C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49C8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49C8#FFFFFF#000000##FFFFFF
##6B49C81.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#4E6782
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b49c8;
/* rgb */ color: rgb(107, 73, 200);
/* oklch */ color: oklch(51.3% 0.188 290.6);
Tailwind
colors: {
  custom: {
    50: '#9c7dda',
    500: '#6b49c8',
    950: '#000000',
  },
}
SCSS
$custom: #6b49c8;
$custom-light: #9c7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49c8",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 256.063,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51318,
    "c": 0.18759,
    "h": 290.6
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#6B49C8
secondary
#C3D29B
accent
#DD4BB6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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