#6F54E2#6F54E2

#6F54E2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.4% C 0.206 H 286.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6F54E2
RGBrgb(111, 84, 226)
HSLhsl(251, 71%, 61%)
HSVhsv(251, 63%, 89%)
CMYKcmyk(50.9%, 62.8%, 0%, 11.4%)
CIE-LABlab(45.92, 46.69, -68.79)
CIE-LCHlch(45.92, 83.14, 304.17°)
OKLaboklab(55.36% 0.0577 -0.1972)
OKLCHoklch(55.36% 0.206 286.3)
XYZxyz(23.4493, 15.2100, 73.6370)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54E2 #C7E254
analogous
#5480E2 #6F54E2 #B654E2
triadic
#6F54E2 #E26F54 #54E26F
tetradic
#6F54E2 #E25480 #C7E254 #54E2B6
square
#6F54E2 #E25480 #C7E254 #54E2B6
split-complementary
#6F54E2 #E2B654 #80E254
monochromatic
#351BA0 #4624D5 #6F54E2 #9B88EB #C7BDF4

Accessibility & contrast

On white

5.20
#6F54E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6F54E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54E2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54E2#FFFFFF#000000##FFFFFF
##6F54E21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#437693
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6f54e2;
/* rgb */ color: rgb(111, 84, 226);
/* oklch */ color: oklch(55.4% 0.206 286.3);
Tailwind
colors: {
  custom: {
    50: '#a185ec',
    500: '#6f54e2',
    950: '#000000',
  },
}
SCSS
$custom: #6f54e2;
$custom-light: #a185ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54e2",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 251.408,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.20553,
    "h": 286.3
  },
  "luminance": 0.15211
}

Semantic roles & 50–950 ramp

primary
#6F54E2
secondary
#DAE4AE
accent
#D312AE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6F54E2

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

Preview Lab → · Contrast checker → · Palette generator →

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