#6B47E1#6B47E1

#6B47E1 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.220 H 287.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6B47E1
RGBrgb(107, 71, 225)
HSLhsl(254, 72%, 58%)
HSVhsv(254, 68%, 88%)
CMYKcmyk(52.4%, 68.4%, 0%, 11.8%)
CIE-LABlab(42.86, 52.82, -73.22)
CIE-LCHlch(42.86, 90.29, 305.80°)
OKLaboklab(53.04% 0.0645 -0.2104)
OKLCHoklch(53.04% 0.22 287.1)
XYZxyz(21.9032, 13.0674, 72.5877)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B47E1 #BDE147
analogous
#4770E1 #6B47E1 #B847E1
triadic
#6B47E1 #E16B47 #47E16B
tetradic
#6B47E1 #E14770 #BDE147 #47E1B8
square
#6B47E1 #E14770 #BDE147 #47E1B8
split-complementary
#6B47E1 #E1B847 #70E147
monochromatic
#361895 #4821CA #6B47E1 #957CEA #C0B0F2

Accessibility & contrast

On white

5.81
#6B47E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6B47E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B47E1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B47E1#FFFFFF#000000##FFFFFF
##6B47E11.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#3C6F8F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b47e1;
/* rgb */ color: rgb(107, 71, 225);
/* oklch */ color: oklch(53.0% 0.220 287.1);
Tailwind
colors: {
  custom: {
    50: '#a07dec',
    500: '#6b47e1',
    950: '#000000',
  },
}
SCSS
$custom: #6b47e1;
$custom-light: #a07dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6b47e1",
  "rgb": {
    "r": 107,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 254.026,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.22006,
    "h": 287.1
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#6B47E1
secondary
#D2E1A3
accent
#EF39C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B47E1

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

Preview Lab → · Contrast checker → · Palette generator →

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