#6B3EAD#6B3EAD

#6B3EAD is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.169 H 298.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6B3EAD
RGBrgb(107, 62, 173)
HSLhsl(264, 47%, 46%)
HSVhsv(264, 64%, 68%)
CMYKcmyk(38.2%, 64.2%, 0%, 32.2%)
CIE-LABlab(37.09, 43.30, -52.38)
CIE-LCHlch(37.09, 67.96, 309.58°)
OKLaboklab(47.64% 0.0805 -0.1491)
OKLCHoklch(47.64% 0.169 298.4)
XYZxyz(15.3270, 9.5880, 40.5702)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EAD #80AD3E
analogous
#3E48AD #6B3EAD #A23EAD
triadic
#6B3EAD #AD6B3E #3EAD6B
tetradic
#6B3EAD #AD3E48 #80AD3E #3EADA2
square
#6B3EAD #AD3E48 #80AD3E #3EADA2
split-complementary
#6B3EAD #ADA23E #48AD3E
monochromatic
#331E53 #4F2E80 #6B3EAD #8B62C7 #AC8FD7

Accessibility & contrast

On white

7.20
#6B3EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6B3EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3EAD
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EAD#FFFFFF#000000##FFFFFF
##6B3EAD1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#0156AB
Tritanopia (blue-blind)
#5C5770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3ead;
/* rgb */ color: rgb(107, 62, 173);
/* oklch */ color: oklch(47.6% 0.169 298.4);
Tailwind
colors: {
  custom: {
    50: '#9a76c6',
    500: '#6b3ead',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ead;
$custom-light: #9a76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ead",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 264.324,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47641,
    "c": 0.16944,
    "h": 298.4
  },
  "luminance": 0.09588
}

Semantic roles & 50–950 ramp

primary
#6B3EAD
secondary
#A9C285
accent
#D751A1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6B3EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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