#6B4FDA#6B4FDA

#6B4FDA is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.6% C 0.202 H 286.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6B4FDA
RGBrgb(107, 79, 218)
HSLhsl(252, 65%, 58%)
HSVhsv(252, 64%, 85%)
CMYKcmyk(50.9%, 63.8%, 0%, 14.5%)
CIE-LABlab(43.91, 46.45, -67.52)
CIE-LCHlch(43.91, 81.96, 304.53°)
OKLaboklab(53.63% 0.0581 -0.1936)
OKLCHoklch(53.63% 0.202 286.7)
XYZxyz(21.5105, 13.7787, 67.8422)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FDA #BEDA4F
analogous
#4F78DA #6B4FDA #B04FDA
triadic
#6B4FDA #DA6B4F #4FDA6B
tetradic
#6B4FDA #DA4F78 #BEDA4F #4FDAB0
square
#6B4FDA #DA4F78 #BEDA4F #4FDAB0
split-complementary
#6B4FDA #DAB04F #78DA4F
monochromatic
#351E90 #4829C3 #6B4FDA #9682E5 #C0B4EF

Accessibility & contrast

On white

5.59
#6B4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6B4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FDA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FDA#FFFFFF#000000##FFFFFF
##6B4FDA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#41718D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b4fda;
/* rgb */ color: rgb(107, 79, 218);
/* oklch */ color: oklch(53.6% 0.202 286.7);
Tailwind
colors: {
  custom: {
    50: '#9e82e6',
    500: '#6b4fda',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fda;
$custom-light: #9e82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fda",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 252.086,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.20217,
    "h": 286.7
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#6B4FDA
secondary
#D3DEA7
accent
#E840C6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6B4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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