#6B49CE#6B49CE

#6B49CE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.195 H 289.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6B49CE
RGBrgb(107, 73, 206)
HSLhsl(255, 58%, 55%)
HSVhsv(255, 65%, 81%)
CMYKcmyk(48.1%, 64.6%, 0%, 19.2%)
CIE-LABlab(41.76, 46.34, -64.14)
CIE-LCHlch(41.76, 79.13, 305.85°)
OKLaboklab(51.79% 0.0653 -0.1837)
OKLCHoklch(51.79% 0.195 289.6)
XYZxyz(19.5833, 12.3463, 59.7318)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49CE #ACCE49
analogous
#496ACE #6B49CE #AD49CE
triadic
#6B49CE #CE6B49 #49CE6B
tetradic
#6B49CE #CE496A #ACCE49 #49CEAD
square
#6B49CE #CE496A #ACCE49 #49CEAD
split-complementary
#6B49CE #CEAD49 #6ACE49
monochromatic
#38217B #4E2EAC #6B49CE #9279DB #B9A9E8

Accessibility & contrast

On white

6.05
#6B49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6B49CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49CE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49CE#FFFFFF#000000##FFFFFF
##6B49CE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#4A6985
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b49ce;
/* rgb */ color: rgb(107, 73, 206);
/* oklch */ color: oklch(51.8% 0.195 289.6);
Tailwind
colors: {
  custom: {
    50: '#9d7ede',
    500: '#6b49ce',
    950: '#000000',
  },
}
SCSS
$custom: #6b49ce;
$custom-light: #9d7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49ce",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 255.338,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51785,
    "c": 0.19495,
    "h": 289.6
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#6B49CE
secondary
#C7D59D
accent
#E147B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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