#6B54DB#6B54DB

#6B54DB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.197 H 285.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6B54DB
RGBrgb(107, 84, 219)
HSLhsl(250, 65%, 59%)
HSVhsv(250, 62%, 86%)
CMYKcmyk(51.1%, 61.6%, 0%, 14.1%)
CIE-LABlab(45.05, 43.91, -66.24)
CIE-LCHlch(45.05, 79.47, 303.54°)
OKLaboklab(54.48% 0.0531 -0.1899)
OKLCHoklch(54.48% 0.197 285.6)
XYZxyz(22.0161, 14.5798, 68.6582)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B54DB #C4DB54
analogous
#5481DB #6B54DB #AE54DB
triadic
#6B54DB #DB6B54 #54DB6B
tetradic
#6B54DB #DB5481 #C4DB54 #54DBAE
square
#6B54DB #DB5481 #C4DB54 #54DBAE
split-complementary
#6B54DB #DBAE54 #81DB54
monochromatic
#331F95 #452AC8 #6B54DB #9787E6 #C3B9F0

Accessibility & contrast

On white

5.36
#6B54DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6B54DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B54DB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B54DB#FFFFFF#000000##FFFFFF
##6B54DB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b54db;
/* rgb */ color: rgb(107, 84, 219);
/* oklch */ color: oklch(54.5% 0.197 285.6);
Tailwind
colors: {
  custom: {
    50: '#9e85e7',
    500: '#6b54db',
    950: '#000000',
  },
}
SCSS
$custom: #6b54db;
$custom-light: #9e85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b54db",
  "rgb": {
    "r": 107,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 250.222,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54481,
    "c": 0.19714,
    "h": 285.6
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

primary
#6B54DB
secondary
#D7E0AB
accent
#E840CB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6B54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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