#6F54E7#6F54E7

#6F54E7 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.8% C 0.212 H 285.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6F54E7
RGBrgb(111, 84, 231)
HSLhsl(251, 75%, 62%)
HSVhsv(251, 64%, 91%)
CMYKcmyk(51.9%, 63.6%, 0%, 9.4%)
CIE-LABlab(46.30, 48.15, -71.01)
CIE-LCHlch(46.30, 85.80, 304.14°)
OKLaboklab(55.75% 0.0573 -0.2038)
OKLCHoklch(55.75% 0.212 285.7)
XYZxyz(24.1454, 15.4884, 77.3031)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54E7 #CCE754
analogous
#5483E7 #6F54E7 #B854E7
triadic
#6F54E7 #E76F54 #54E76F
tetradic
#6F54E7 #E75483 #CCE754 #54E7B8
square
#6F54E7 #E75483 #CCE754 #54E7B8
split-complementary
#6F54E7 #E7B854 #83E754
monochromatic
#3218A9 #421FDF #6F54E7 #9C8AEF #C9BFF6

Accessibility & contrast

On white

5.12
#6F54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6F54E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54E7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54E7#FFFFFF#000000##FFFFFF
##6F54E71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#3F7896
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f54e7;
/* rgb */ color: rgb(111, 84, 231);
/* oklch */ color: oklch(55.8% 0.212 285.7);
Tailwind
colors: {
  custom: {
    50: '#a286f0',
    500: '#6f54e7',
    950: '#000000',
  },
}
SCSS
$custom: #6f54e7;
$custom-light: #a286f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54e7",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 251.02,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5575,
    "c": 0.21166,
    "h": 285.7
  },
  "luminance": 0.1549
}

Semantic roles & 50–950 ramp

primary
#6F54E7
secondary
#DDE7B0
accent
#D80EB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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