#6B4FC6#6B4FC6

#6B4FC6 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.177 H 289.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6B4FC6
RGBrgb(107, 79, 198)
HSLhsl(254, 51%, 54%)
HSVhsv(254, 60%, 78%)
CMYKcmyk(46%, 60.1%, 0%, 22.4%)
CIE-LABlab(42.45, 40.66, -58.39)
CIE-LCHlch(42.45, 71.15, 304.85°)
OKLaboklab(52.1% 0.0596 -0.1668)
OKLCHoklch(52.1% 0.177 289.7)
XYZxyz(19.0495, 12.7943, 54.8810)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FC6 #AAC64F
analogous
#4F6FC6 #6B4FC6 #A74FC6
triadic
#6B4FC6 #C66B4F #4FC66B
tetradic
#6B4FC6 #C64F6F #AAC64F #4FC6A7
square
#6B4FC6 #C64F6F #AAC64F #4FC6A7
split-complementary
#6B4FC6 #C6A74F #6FC64F
monochromatic
#382675 #4F35A3 #6B4FC6 #927DD5 #B9ABE4

Accessibility & contrast

On white

5.90
#6B4FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6B4FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FC6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FC6#FFFFFF#000000##FFFFFF
##6B4FC61.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#4F6A83
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b4fc6;
/* rgb */ color: rgb(107, 79, 198);
/* oklch */ color: oklch(52.1% 0.177 289.7);
Tailwind
colors: {
  custom: {
    50: '#9c81d8',
    500: '#6b4fc6',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fc6;
$custom-light: #9c81d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fc6",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 198
  },
  "hsl": {
    "h": 254.118,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.1771,
    "h": 289.7
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#6B4FC6
secondary
#C6D29F
accent
#DB4DB9
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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