#6B4FE8#6B4FE8

#6B4FE8 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.219 H 284.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6B4FE8
RGBrgb(107, 79, 232)
HSLhsl(251, 77%, 61%)
HSVhsv(251, 66%, 91%)
CMYKcmyk(53.9%, 65.9%, 0%, 9%)
CIE-LABlab(45.00, 50.53, -73.70)
CIE-LCHlch(45.00, 89.36, 304.43°)
OKLaboklab(54.75% 0.0565 -0.2118)
OKLCHoklch(54.75% 0.219 284.9)
XYZxyz(23.4205, 14.5426, 77.9012)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FE8 #CCE84F
analogous
#4F7FE8 #6B4FE8 #B74FE8
triadic
#6B4FE8 #E86B4F #4FE86B
tetradic
#6B4FE8 #E84F7F #CCE84F #4FE8B7
square
#6B4FE8 #E84F7F #CCE84F #4FE8B7
split-complementary
#6B4FE8 #E8B74F #7FE84F
monochromatic
#3016A7 #401DDD #6B4FE8 #9985EF #C6BBF6

Accessibility & contrast

On white

5.37
#6B4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6B4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FE8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FE8#FFFFFF#000000##FFFFFF
##6B4FE81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#347695
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b4fe8;
/* rgb */ color: rgb(107, 79, 232);
/* oklch */ color: oklch(54.8% 0.219 284.9);
Tailwind
colors: {
  custom: {
    50: '#a082f0',
    500: '#6b4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fe8;
$custom-light: #a082f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fe8",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 250.98,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54753,
    "c": 0.2192,
    "h": 284.9
  },
  "luminance": 0.14544
}

Semantic roles & 50–950 ramp

primary
#6B4FE8
secondary
#DCE6AD
accent
#D90CB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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