#6F54E4#6F54E4

#6F54E4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.5% C 0.208 H 286.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6F54E4
RGBrgb(111, 84, 228)
HSLhsl(251, 73%, 61%)
HSVhsv(251, 63%, 89%)
CMYKcmyk(51.3%, 63.2%, 0%, 10.6%)
CIE-LABlab(46.07, 47.28, -69.68)
CIE-LCHlch(46.07, 84.21, 304.15°)
OKLaboklab(55.52% 0.0576 -0.1999)
OKLCHoklch(55.52% 0.208 286.1)
XYZxyz(23.7253, 15.3204, 75.0907)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54E4 #C9E454
analogous
#5481E4 #6F54E4 #B754E4
triadic
#6F54E4 #E46F54 #54E46F
tetradic
#6F54E4 #E45481 #C9E454 #54E4B7
square
#6F54E4 #E45481 #C9E454 #54E4B7
split-complementary
#6F54E4 #E4B754 #81E454
monochromatic
#341AA4 #4422D9 #6F54E4 #9C89EC #C8BEF5

Accessibility & contrast

On white

5.17
#6F54E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6F54E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54E4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54E4#FFFFFF#000000##FFFFFF
##6F54E41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#427794
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6f54e4;
/* rgb */ color: rgb(111, 84, 228);
/* oklch */ color: oklch(55.5% 0.208 286.1);
Tailwind
colors: {
  custom: {
    50: '#a285ed',
    500: '#6f54e4',
    950: '#000000',
  },
}
SCSS
$custom: #6f54e4;
$custom-light: #a285ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54e4",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 251.25,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55515,
    "c": 0.20799,
    "h": 286.1
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

primary
#6F54E4
secondary
#DBE5AF
accent
#D511B0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6F54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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