#6B4CCC#6B4CCC

#6B4CCC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.189 H 289.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6B4CCC
RGBrgb(107, 76, 204)
HSLhsl(255, 56%, 55%)
HSVhsv(255, 63%, 80%)
CMYKcmyk(47.5%, 62.7%, 0%, 20%)
CIE-LABlab(42.24, 44.10, -62.21)
CIE-LCHlch(42.24, 76.25, 305.33°)
OKLaboklab(52.08% 0.0624 -0.178)
OKLCHoklch(52.08% 0.189 289.3)
XYZxyz(19.5438, 12.6535, 58.5276)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CCC #ADCC4C
analogous
#4C6DCC #6B4CCC #AB4CCC
triadic
#6B4CCC #CC6B4C #4CCC6B
tetradic
#6B4CCC #CC4C6D #ADCC4C #4CCCAB
square
#6B4CCC #CC4C6D #ADCC4C #4CCCAB
split-complementary
#6B4CCC #CCAB4C #6DCC4C
monochromatic
#38237B #4E31AA #6B4CCC #927CDA #BAABE7

Accessibility & contrast

On white

5.95
#6B4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6B4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4CCC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4CCC#FFFFFF#000000##FFFFFF
##6B4CCC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#4B6A85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b4ccc;
/* rgb */ color: rgb(107, 76, 204);
/* oklch */ color: oklch(52.1% 0.189 289.3);
Tailwind
colors: {
  custom: {
    50: '#9d80dc',
    500: '#6b4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ccc;
$custom-light: #9d80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ccc",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 254.531,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.18865,
    "h": 289.3
  },
  "luminance": 0.12654
}

Semantic roles & 50–950 ramp

primary
#6B4CCC
secondary
#C8D59F
accent
#DF49BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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