#6B47C8#6B47C8

#6B47C8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.190 H 291.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6B47C8
RGBrgb(107, 71, 200)
HSLhsl(257, 54%, 53%)
HSVhsv(257, 65%, 78%)
CMYKcmyk(46.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(40.90, 45.75, -62.07)
CIE-LCHlch(40.90, 77.11, 306.40°)
OKLaboklab(51.02% 0.068 -0.1776)
OKLCHoklch(51.02% 0.19 291)
XYZxyz(18.7390, 11.8017, 55.9230)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B47C8 #A4C847
analogous
#4763C8 #6B47C8 #AB47C8
triadic
#6B47C8 #C86B47 #47C86B
tetradic
#6B47C8 #C84763 #A4C847 #47C8AB
square
#6B47C8 #C84763 #A4C847 #47C8AB
split-complementary
#6B47C8 #C8AB47 #63C847
monochromatic
#392272 #5030A2 #6B47C8 #9176D6 #B7A5E4

Accessibility & contrast

On white

6.25
#6B47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6B47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B47C8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B47C8#FFFFFF#000000##FFFFFF
##6B47C81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#4E6681
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b47c8;
/* rgb */ color: rgb(107, 71, 200);
/* oklch */ color: oklch(51.0% 0.190 291.0);
Tailwind
colors: {
  custom: {
    50: '#9d7cda',
    500: '#6b47c8',
    950: '#000000',
  },
}
SCSS
$custom: #6b47c8;
$custom-light: #9d7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#6b47c8",
  "rgb": {
    "r": 107,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 256.744,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51019,
    "c": 0.19018,
    "h": 291
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#6B47C8
secondary
#C2D19A
accent
#DD4AB4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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