#6F54DB#6F54DB

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

Color values

HEX#6F54DB
RGBrgb(111, 84, 219)
HSLhsl(252, 65%, 59%)
HSVhsv(252, 62%, 86%)
CMYKcmyk(49.3%, 61.6%, 0%, 14.1%)
CIE-LABlab(45.41, 44.66, -65.65)
CIE-LCHlch(45.41, 79.40, 304.23°)
OKLaboklab(54.82% 0.0583 -0.188)
OKLCHoklch(54.82% 0.197 287.2)
XYZxyz(22.5083, 14.8336, 68.6813)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54DB #C0DB54
analogous
#547DDB #6F54DB #B354DB
triadic
#6F54DB #DB6F54 #54DB6F
tetradic
#6F54DB #DB547D #C0DB54 #54DBB3
square
#6F54DB #DB547D #C0DB54 #54DBB3
split-complementary
#6F54DB #DBB354 #7DDB54
monochromatic
#371F95 #4A2AC8 #6F54DB #9A87E6 #C4B9F0

Accessibility & contrast

On white

5.29
#6F54DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6F54DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54DB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54DB#FFFFFF#000000##FFFFFF
##6F54DB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f54db;
/* rgb */ color: rgb(111, 84, 219);
/* oklch */ color: oklch(54.8% 0.197 287.2);
Tailwind
colors: {
  custom: {
    50: '#a085e7',
    500: '#6f54db',
    950: '#000000',
  },
}
SCSS
$custom: #6f54db;
$custom-light: #a085e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54db",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 252,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.19684,
    "h": 287.2
  },
  "luminance": 0.14835
}

Semantic roles & 50–950 ramp

primary
#6F54DB
secondary
#D5E0AB
accent
#E840C6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6F54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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