#6F56EC#6F56EC

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

Color values

HEX#6F56EC
RGBrgb(111, 86, 236)
HSLhsl(250, 80%, 63%)
HSVhsv(250, 64%, 93%)
CMYKcmyk(53%, 63.6%, 0%, 7.5%)
CIE-LABlab(47.09, 48.49, -72.54)
CIE-LCHlch(47.09, 87.25, 303.76°)
OKLaboklab(56.45% 0.0549 -0.2082)
OKLCHoklch(56.45% 0.215 284.8)
XYZxyz(25.0191, 16.0898, 81.1279)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F56EC #D3EC56
analogous
#5688EC #6F56EC #BA56EC
triadic
#6F56EC #EC6F56 #56EC6F
tetradic
#6F56EC #EC5688 #D3EC56 #56ECBA
square
#6F56EC #EC5688 #D3EC56 #56ECBA
split-complementary
#6F56EC #ECBA56 #88EC56
monochromatic
#2F14B3 #401FE6 #6F56EC #9E8DF2 #CDC4F8

Accessibility & contrast

On white

4.98
#6F56EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#6F56EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F56EC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F56EC#FFFFFF#000000##FFFFFF
##6F56EC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#3A7B99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6f56ec;
/* rgb */ color: rgb(111, 86, 236);
/* oklch */ color: oklch(56.4% 0.215 284.8);
Tailwind
colors: {
  custom: {
    50: '#a387f3',
    500: '#6f56ec',
    950: '#000000',
  },
}
SCSS
$custom: #6f56ec;
$custom-light: #a387f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f56ec",
  "rgb": {
    "r": 111,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 250,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56446,
    "c": 0.21536,
    "h": 284.8
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#6F56EC
secondary
#E1EAB4
accent
#DC09B9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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