#6D54E8#6D54E8

#6D54E8 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.7% C 0.213 H 284.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6D54E8
RGBrgb(109, 84, 232)
HSLhsl(250, 76%, 62%)
HSVhsv(250, 64%, 91%)
CMYKcmyk(53%, 63.8%, 0%, 9%)
CIE-LABlab(46.20, 48.09, -71.74)
CIE-LCHlch(46.20, 86.37, 303.84°)
OKLaboklab(55.66% 0.0546 -0.206)
OKLCHoklch(55.66% 0.213 284.8)
XYZxyz(24.0381, 15.4167, 78.0374)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54E8 #CFE854
analogous
#5485E8 #6D54E8 #B754E8
triadic
#6D54E8 #E86D54 #54E86D
tetradic
#6D54E8 #E85485 #CFE854 #54E8B7
square
#6D54E8 #E85485 #CFE854 #54E8B7
split-complementary
#6D54E8 #E8B754 #85E854
monochromatic
#3017AB #3F1EE1 #6D54E8 #9B8AEF #C9C0F7

Accessibility & contrast

On white

5.14
#6D54E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6D54E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D54E8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D54E8#FFFFFF#000000##FFFFFF
##6D54E81.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#397997
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6d54e8;
/* rgb */ color: rgb(109, 84, 232);
/* oklch */ color: oklch(55.7% 0.213 284.8);
Tailwind
colors: {
  custom: {
    50: '#a185f0',
    500: '#6d54e8',
    950: '#000000',
  },
}
SCSS
$custom: #6d54e8;
$custom-light: #a185f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54e8",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 250.135,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55662,
    "c": 0.21308,
    "h": 284.8
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#6D54E8
secondary
#DEE7B1
accent
#D80DB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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