#6F54EB#6F54EB

#6F54EB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.217 H 285.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6F54EB
RGBrgb(111, 84, 235)
HSLhsl(251, 79%, 63%)
HSVhsv(251, 64%, 92%)
CMYKcmyk(52.8%, 64.3%, 0%, 7.8%)
CIE-LABlab(46.60, 49.31, -72.77)
CIE-LCHlch(46.60, 87.91, 304.12°)
OKLaboklab(56.07% 0.0569 -0.2089)
OKLCHoklch(56.07% 0.217 285.2)
XYZxyz(24.7168, 15.7170, 80.3124)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54EB #D0EB54
analogous
#5485EB #6F54EB #BA54EB
triadic
#6F54EB #EB6F54 #54EB6F
tetradic
#6F54EB #EB5485 #D0EB54 #54EBBA
square
#6F54EB #EB5485 #D0EB54 #54EBBA
split-complementary
#6F54EB #EBBA54 #85EB54
monochromatic
#3015B0 #411DE5 #6F54EB #9D8BF1 #CBC2F8

Accessibility & contrast

On white

5.07
#6F54EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6F54EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54EB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54EB#FFFFFF#000000##FFFFFF
##6F54EB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#3B7998
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f54eb;
/* rgb */ color: rgb(111, 84, 235);
/* oklch */ color: oklch(56.1% 0.217 285.2);
Tailwind
colors: {
  custom: {
    50: '#a386f2',
    500: '#6f54eb',
    950: '#000000',
  },
}
SCSS
$custom: #6f54eb;
$custom-light: #a386f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54eb",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 250.728,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56066,
    "c": 0.21654,
    "h": 285.2
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

primary
#6F54EB
secondary
#DFE9B2
accent
#DB0AB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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