#6E54F0#6E54F0

#6E54F0 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.223 H 284.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6E54F0
RGBrgb(110, 84, 240)
HSLhsl(250, 84%, 64%)
HSVhsv(250, 65%, 94%)
CMYKcmyk(54.2%, 65%, 0%, 5.9%)
CIE-LABlab(46.90, 50.60, -75.10)
CIE-LCHlch(46.90, 90.56, 303.97°)
OKLaboklab(56.38% 0.055 -0.2158)
OKLCHoklch(56.38% 0.223 284.3)
XYZxyz(25.3241, 15.9454, 84.1645)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54F0 #D6F054
analogous
#5488F0 #6E54F0 #BC54F0
triadic
#6E54F0 #F06E54 #54F06E
tetradic
#6E54F0 #F05488 #D6F054 #54F0BC
square
#6E54F0 #F05488 #D6F054 #54F0BC
split-complementary
#6E54F0 #F0BC54 #88F054
monochromatic
#2C10B9 #3E1CEB #6E54F0 #9E8CF5 #CDC5FA

Accessibility & contrast

On white

5.01
#6E54F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6E54F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54F0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54F0#FFFFFF#000000##FFFFFF
##6E54F01.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#006AED
Tritanopia (blue-blind)
#337B9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6e54f0;
/* rgb */ color: rgb(110, 84, 240);
/* oklch */ color: oklch(56.4% 0.223 284.3);
Tailwind
colors: {
  custom: {
    50: '#a386f6',
    500: '#6e54f0',
    950: '#000000',
  },
}
SCSS
$custom: #6e54f0;
$custom-light: #a386f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54f0",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 240
  },
  "hsl": {
    "h": 250,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.2227,
    "h": 284.3
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#6E54F0
secondary
#E2ECB4
accent
#E005BC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6E54F0

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

Preview Lab → · Contrast checker → · Palette generator →

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