#6F56DC#6F56DC

#6F56DC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.2% C 0.196 H 286.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6F56DC
RGBrgb(111, 86, 220)
HSLhsl(251, 66%, 60%)
HSVhsv(251, 61%, 86%)
CMYKcmyk(49.5%, 60.9%, 0%, 13.7%)
CIE-LABlab(45.91, 43.81, -65.40)
CIE-LCHlch(45.91, 78.72, 303.82°)
OKLaboklab(55.21% 0.0562 -0.1873)
OKLCHoklch(55.21% 0.196 286.7)
XYZxyz(22.7978, 15.2013, 69.4292)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F56DC #C3DC56
analogous
#5680DC #6F56DC #B256DC
triadic
#6F56DC #DC6F56 #56DC6F
tetradic
#6F56DC #DC5680 #C3DC56 #56DCB2
square
#6F56DC #DC5680 #C3DC56 #56DCB2
split-complementary
#6F56DC #DCB256 #80DC56
monochromatic
#362098 #482ACB #6F56DC #9A89E6 #C5BBF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F56DC#FFFFFF#000000##FFFFFF
##6F56DC1.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)
#0070E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#487691
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6f56dc;
/* rgb */ color: rgb(111, 86, 220);
/* oklch */ color: oklch(55.2% 0.196 286.7);
Tailwind
colors: {
  custom: {
    50: '#a087e8',
    500: '#6f56dc',
    950: '#000000',
  },
}
SCSS
$custom: #6f56dc;
$custom-light: #a087e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f56dc",
  "rgb": {
    "r": 111,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 251.194,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.55213,
    "c": 0.19552,
    "h": 286.7
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#6F56DC
secondary
#D7E1AD
accent
#E93FC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6F56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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