#6E54DB#6E54DB

#6E54DB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.7% C 0.197 H 286.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6E54DB
RGBrgb(110, 84, 219)
HSLhsl(252, 65%, 59%)
HSVhsv(252, 62%, 86%)
CMYKcmyk(49.8%, 61.6%, 0%, 14.1%)
CIE-LABlab(45.32, 44.47, -65.80)
CIE-LCHlch(45.32, 79.42, 304.05°)
OKLaboklab(54.74% 0.057 -0.1885)
OKLCHoklch(54.74% 0.197 286.8)
XYZxyz(22.3832, 14.7691, 68.6754)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54DB #C1DB54
analogous
#547DDB #6E54DB #B254DB
triadic
#6E54DB #DB6E54 #54DB6E
tetradic
#6E54DB #DB547D #C1DB54 #54DBB2
square
#6E54DB #DB547D #C1DB54 #54DBB2
split-complementary
#6E54DB #DBB254 #7DDB54
monochromatic
#361F95 #482AC8 #6E54DB #9987E6 #C4B9F0

Accessibility & contrast

On white

5.31
#6E54DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6E54DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54DB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54DB#FFFFFF#000000##FFFFFF
##6E54DB1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#477490
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6e54db;
/* rgb */ color: rgb(110, 84, 219);
/* oklch */ color: oklch(54.7% 0.197 286.8);
Tailwind
colors: {
  custom: {
    50: '#a085e7',
    500: '#6e54db',
    950: '#000000',
  },
}
SCSS
$custom: #6e54db;
$custom-light: #a085e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54db",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 251.556,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54737,
    "c": 0.19691,
    "h": 286.8
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#6E54DB
secondary
#D6E0AB
accent
#E840C8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6E54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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