#6D54E7#6D54E7

#6D54E7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.6% C 0.212 H 285.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6D54E7
RGBrgb(109, 84, 231)
HSLhsl(250, 75%, 62%)
HSVhsv(250, 64%, 91%)
CMYKcmyk(52.8%, 63.6%, 0%, 9.4%)
CIE-LABlab(46.12, 47.80, -71.30)
CIE-LCHlch(46.12, 85.84, 303.84°)
OKLaboklab(55.58% 0.0547 -0.2047)
OKLCHoklch(55.58% 0.212 285)
XYZxyz(23.8965, 15.3601, 77.2914)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54E7 #CEE754
analogous
#5485E7 #6D54E7 #B754E7
triadic
#6D54E7 #E76D54 #54E76D
tetradic
#6D54E7 #E75485 #CEE754 #54E7B7
square
#6D54E7 #E75485 #CEE754 #54E7B7
split-complementary
#6D54E7 #E7B754 #85E754
monochromatic
#3018A9 #401FDF #6D54E7 #9B8AEF #C9BFF6

Accessibility & contrast

On white

5.16
#6D54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6D54E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D54E7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D54E7#FFFFFF#000000##FFFFFF
##6D54E71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#3A7896
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6d54e7;
/* rgb */ color: rgb(109, 84, 231);
/* oklch */ color: oklch(55.6% 0.212 285.0);
Tailwind
colors: {
  custom: {
    50: '#a185f0',
    500: '#6d54e7',
    950: '#000000',
  },
}
SCSS
$custom: #6d54e7;
$custom-light: #a185f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54e7",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 250.204,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55583,
    "c": 0.21186,
    "h": 285
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#6D54E7
secondary
#DDE7B0
accent
#D80EB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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