#6D4DEF#6D4DEF

#6D4DEF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.230 H 285.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6D4DEF
RGBrgb(109, 77, 239)
HSLhsl(252, 84%, 62%)
HSVhsv(252, 68%, 94%)
CMYKcmyk(54.4%, 67.8%, 0%, 6.3%)
CIE-LABlab(45.34, 53.95, -77.08)
CIE-LCHlch(45.34, 94.09, 304.99°)
OKLaboklab(55.22% 0.0599 -0.2217)
OKLCHoklch(55.22% 0.23 285.1)
XYZxyz(24.5358, 14.7896, 83.2064)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DEF #CFEF4D
analogous
#4D7EEF #6D4DEF #BE4DEF
triadic
#6D4DEF #EF6D4D #4DEF6D
tetradic
#6D4DEF #EF4D7E #CFEF4D #4DEFBE
square
#6D4DEF #EF4D7E #CFEF4D #4DEFBE
split-complementary
#6D4DEF #EFBE4D #7EEF4D
monochromatic
#3010B2 #3F15EA #6D4DEF #9B85F4 #C9BDF9

Accessibility & contrast

On white

5.31
#6D4DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6D4DEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4DEF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DEF#FFFFFF#000000##FFFFFF
##6D4DEF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F4
Deuteranopia (green-blind)
#0066EC
Tritanopia (blue-blind)
#327798
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6d4def;
/* rgb */ color: rgb(109, 77, 239);
/* oklch */ color: oklch(55.2% 0.230 285.1);
Tailwind
colors: {
  custom: {
    50: '#a281f5',
    500: '#6d4def',
    950: '#000000',
  },
}
SCSS
$custom: #6d4def;
$custom-light: #a281f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4def",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 239
  },
  "hsl": {
    "h": 251.852,
    "s": 83.505,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.2296,
    "h": 285.1
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#6D4DEF
secondary
#DEEAAE
accent
#E006B5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D4DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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