#6B4DEB#6B4DEB

#6B4DEB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.225 H 284.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6B4DEB
RGBrgb(107, 77, 235)
HSLhsl(251, 80%, 61%)
HSVhsv(251, 67%, 92%)
CMYKcmyk(54.5%, 67.2%, 0%, 7.8%)
CIE-LABlab(44.84, 52.48, -75.66)
CIE-LCHlch(44.84, 92.08, 304.75°)
OKLaboklab(54.72% 0.0578 -0.2175)
OKLCHoklch(54.72% 0.225 284.9)
XYZxyz(23.7081, 14.4304, 80.1172)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4DEB #CDEB4D
analogous
#4D7EEB #6B4DEB #BA4DEB
triadic
#6B4DEB #EB6B4D #4DEB6B
tetradic
#6B4DEB #EB4D7E #CDEB4D #4DEBBA
square
#6B4DEB #EB4D7E #CDEB4D #4DEBBA
split-complementary
#6B4DEB #EBBA4D #7EEB4D
monochromatic
#3013AA #3F19E1 #6B4DEB #9984F1 #C6BBF7

Accessibility & contrast

On white

5.40
#6B4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6B4DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4DEB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4DEB#FFFFFF#000000##FFFFFF
##6B4DEB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#317696
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b4deb;
/* rgb */ color: rgb(107, 77, 235);
/* oklch */ color: oklch(54.7% 0.225 284.9);
Tailwind
colors: {
  custom: {
    50: '#a181f3',
    500: '#6b4deb',
    950: '#000000',
  },
}
SCSS
$custom: #6b4deb;
$custom-light: #a181f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4deb",
  "rgb": {
    "r": 107,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 251.392,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54715,
    "c": 0.22508,
    "h": 284.9
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#6B4DEB
secondary
#DCE8AC
accent
#DC09B4
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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