#6B4CCB#6B4CCB

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

Color values

HEX#6B4CCB
RGBrgb(107, 76, 203)
HSLhsl(255, 55%, 55%)
HSVhsv(255, 63%, 80%)
CMYKcmyk(47.3%, 62.6%, 0%, 20.4%)
CIE-LABlab(42.16, 43.81, -61.75)
CIE-LCHlch(42.16, 75.71, 305.36°)
OKLaboklab(52.01% 0.0625 -0.1767)
OKLCHoklch(52.01% 0.187 289.5)
XYZxyz(19.4243, 12.6057, 57.8980)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CCB #ACCB4C
analogous
#4C6CCB #6B4CCB #AB4CCB
triadic
#6B4CCB #CB6B4C #4CCB6B
tetradic
#6B4CCB #CB4C6C #ACCB4C #4CCBAB
square
#6B4CCB #CB4C6C #ACCB4C #4CCBAB
split-complementary
#6B4CCB #CBAB4C #6CCB4C
monochromatic
#382379 #4E31A9 #6B4CCB #927BD9 #B9ABE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B4CCB#FFFFFF#000000##FFFFFF
##6B4CCB1.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)
#0066CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#4C6A84
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b4ccb;
/* rgb */ color: rgb(107, 76, 203);
/* oklch */ color: oklch(52.0% 0.187 289.5);
Tailwind
colors: {
  custom: {
    50: '#9d80dc',
    500: '#6b4ccb',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ccb;
$custom-light: #9d80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ccb",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 254.646,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52006,
    "c": 0.1874,
    "h": 289.5
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#6B4CCB
secondary
#C7D49F
accent
#DE49BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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