#6E54EF#6E54EF

#6E54EF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.3% C 0.221 H 284.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6E54EF
RGBrgb(110, 84, 239)
HSLhsl(250, 83%, 63%)
HSVhsv(250, 65%, 94%)
CMYKcmyk(54%, 64.9%, 0%, 6.3%)
CIE-LABlab(46.82, 50.31, -74.66)
CIE-LCHlch(46.82, 90.03, 303.97°)
OKLaboklab(56.3% 0.0551 -0.2145)
OKLCHoklch(56.3% 0.221 284.4)
XYZxyz(25.1760, 15.8862, 83.3844)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54EF #D5EF54
analogous
#5487EF #6E54EF #BC54EF
triadic
#6E54EF #EF6E54 #54EF6E
tetradic
#6E54EF #EF5487 #D5EF54 #54EFBC
square
#6E54EF #EF5487 #D5EF54 #54EFBC
split-complementary
#6E54EF #EFBC54 #87EF54
monochromatic
#2D11B7 #3F1CEA #6E54EF #9D8CF4 #CDC4F9

Accessibility & contrast

On white

5.03
#6E54EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6E54EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54EF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54EF#FFFFFF#000000##FFFFFF
##6E54EF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#347B9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6e54ef;
/* rgb */ color: rgb(110, 84, 239);
/* oklch */ color: oklch(56.3% 0.221 284.4);
Tailwind
colors: {
  custom: {
    50: '#a386f5',
    500: '#6e54ef',
    950: '#000000',
  },
}
SCSS
$custom: #6e54ef;
$custom-light: #a386f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54ef",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 250.065,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56304,
    "c": 0.22149,
    "h": 284.4
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#6E54EF
secondary
#E2EBB4
accent
#DF06BB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6E54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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