#6B4FCD#6B4FCD

#6B4FCD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.186 H 288.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6B4FCD
RGBrgb(107, 79, 205)
HSLhsl(253, 56%, 56%)
HSVhsv(253, 61%, 80%)
CMYKcmyk(47.8%, 61.5%, 0%, 19.6%)
CIE-LABlab(42.95, 42.68, -61.63)
CIE-LCHlch(42.95, 74.96, 304.71°)
OKLaboklab(52.63% 0.0592 -0.1763)
OKLCHoklch(52.63% 0.186 288.6)
XYZxyz(19.8757, 13.1247, 59.2318)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FCD #B1CD4F
analogous
#4F72CD #6B4FCD #AA4FCD
triadic
#6B4FCD #CD6B4F #4FCD6B
tetradic
#6B4FCD #CD4F72 #B1CD4F #4FCDAA
square
#6B4FCD #CD4F72 #B1CD4F #4FCDAA
split-complementary
#6B4FCD #CDAA4F #72CD4F
monochromatic
#38247E #4D31AE #6B4FCD #937FDB #BBAEE8

Accessibility & contrast

On white

5.79
#6B4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6B4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FCD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FCD#FFFFFF#000000##FFFFFF
##6B4FCD1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#4B6C86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b4fcd;
/* rgb */ color: rgb(107, 79, 205);
/* oklch */ color: oklch(52.6% 0.186 288.6);
Tailwind
colors: {
  custom: {
    50: '#9d82dd',
    500: '#6b4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fcd;
$custom-light: #9d82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fcd",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 253.333,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.18598,
    "h": 288.6
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#6B4FCD
secondary
#CAD6A2
accent
#DF49BE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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