#6F54EF#6F54EF

#6F54EF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.221 H 284.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6F54EF
RGBrgb(111, 84, 239)
HSLhsl(250, 83%, 63%)
HSVhsv(250, 65%, 94%)
CMYKcmyk(53.6%, 64.9%, 0%, 6.3%)
CIE-LABlab(46.91, 50.48, -74.52)
CIE-LCHlch(46.91, 90.01, 304.11°)
OKLaboklab(56.39% 0.0564 -0.2141)
OKLCHoklch(56.39% 0.221 284.8)
XYZxyz(25.3011, 15.9507, 83.3902)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54EF #D4EF54
analogous
#5486EF #6F54EF #BD54EF
triadic
#6F54EF #EF6F54 #54EF6F
tetradic
#6F54EF #EF5486 #D4EF54 #54EFBD
square
#6F54EF #EF5486 #D4EF54 #54EFBD
split-complementary
#6F54EF #EFBD54 #86EF54
monochromatic
#2E11B7 #401CEA #6F54EF #9E8CF4 #CDC4F9

Accessibility & contrast

On white

5.01
#6F54EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6F54EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54EF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54EF#FFFFFF#000000##FFFFFF
##6F54EF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f54ef;
/* rgb */ color: rgb(111, 84, 239);
/* oklch */ color: oklch(56.4% 0.221 284.8);
Tailwind
colors: {
  custom: {
    50: '#a386f5',
    500: '#6f54ef',
    950: '#000000',
  },
}
SCSS
$custom: #6f54ef;
$custom-light: #a386f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54ef",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 250.452,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56386,
    "c": 0.22138,
    "h": 284.8
  },
  "luminance": 0.15952
}

Semantic roles & 50–950 ramp

primary
#6F54EF
secondary
#E1EBB4
accent
#DF06B9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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