#6B4DC8#6B4DC8

#6B4DC8 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.182 H 289.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6B4DC8
RGBrgb(107, 77, 200)
HSLhsl(255, 53%, 54%)
HSVhsv(255, 62%, 78%)
CMYKcmyk(46.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(42.16, 42.38, -60.02)
CIE-LCHlch(42.16, 73.48, 305.23°)
OKLaboklab(51.93% 0.0617 -0.1716)
OKLCHoklch(51.93% 0.182 289.8)
XYZxyz(19.1397, 12.6030, 56.0565)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4DC8 #AAC84D
analogous
#4D6DC8 #6B4DC8 #A94DC8
triadic
#6B4DC8 #C86B4D #4DC86B
tetradic
#6B4DC8 #C84D6D #AAC84D #4DC8A9
square
#6B4DC8 #C84D6D #AAC84D #4DC8A9
split-complementary
#6B4DC8 #C8A94D #6DC84D
monochromatic
#382476 #4F33A5 #6B4DC8 #927CD6 #B9ABE5

Accessibility & contrast

On white

5.96
#6B4DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6B4DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4DC8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4DC8#FFFFFF#000000##FFFFFF
##6B4DC81.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#4E6A83
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b4dc8;
/* rgb */ color: rgb(107, 77, 200);
/* oklch */ color: oklch(51.9% 0.182 289.8);
Tailwind
colors: {
  custom: {
    50: '#9c80da',
    500: '#6b4dc8',
    950: '#000000',
  },
}
SCSS
$custom: #6b4dc8;
$custom-light: #9c80da;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4dc8",
  "rgb": {
    "r": 107,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 254.634,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.18233,
    "h": 289.8
  },
  "luminance": 0.12604
}

Semantic roles & 50–950 ramp

primary
#6B4DC8
secondary
#C6D29E
accent
#DC4CB9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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