#6D51DE#6D51DE

#6D51DE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.4% C 0.204 H 286.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6D51DE
RGBrgb(109, 81, 222)
HSLhsl(252, 68%, 59%)
HSVhsv(252, 64%, 87%)
CMYKcmyk(50.9%, 63.5%, 0%, 12.9%)
CIE-LABlab(44.81, 46.85, -68.33)
CIE-LCHlch(44.81, 82.85, 304.44°)
OKLaboklab(54.42% 0.0584 -0.196)
OKLCHoklch(54.42% 0.204 286.6)
XYZxyz(22.4300, 14.4089, 70.6924)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D51DE #C2DE51
analogous
#517CDE #6D51DE #B451DE
triadic
#6D51DE #DE6D51 #51DE6D
tetradic
#6D51DE #DE517C #C2DE51 #51DEB4
square
#6D51DE #DE517C #C2DE51 #51DEB4
split-complementary
#6D51DE #DEB451 #7CDE51
monochromatic
#351D98 #4727CB #6D51DE #9884E8 #C3B8F2

Accessibility & contrast

On white

5.41
#6D51DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6D51DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D51DE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D51DE#FFFFFF#000000##FFFFFF
##6D51DE1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#427390
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d51de;
/* rgb */ color: rgb(109, 81, 222);
/* oklch */ color: oklch(54.4% 0.204 286.6);
Tailwind
colors: {
  custom: {
    50: '#a083e9',
    500: '#6d51de',
    950: '#000000',
  },
}
SCSS
$custom: #6d51de;
$custom-light: #a083e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d51de",
  "rgb": {
    "r": 109,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 251.915,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54419,
    "c": 0.20447,
    "h": 286.6
  },
  "luminance": 0.1441
}

Semantic roles & 50–950 ramp

primary
#6D51DE
secondary
#D6E1AA
accent
#EB3DC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6D51DE

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

Preview Lab → · Contrast checker → · Palette generator →

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