#6F54CE#6F54CE

#6F54CE is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.9% C 0.180 H 289.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6F54CE
RGBrgb(111, 84, 206)
HSLhsl(253, 55%, 57%)
HSVhsv(253, 59%, 81%)
CMYKcmyk(46.1%, 59.2%, 0%, 19.2%)
CIE-LABlab(44.48, 40.91, -59.70)
CIE-LCHlch(44.48, 72.37, 304.42°)
OKLaboklab(53.86% 0.059 -0.1705)
OKLCHoklch(53.86% 0.18 289.1)
XYZxyz(20.8633, 14.1756, 60.0174)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54CE #B3CE54
analogous
#5476CE #6F54CE #AC54CE
triadic
#6F54CE #CE6F54 #54CE6F
tetradic
#6F54CE #CE5476 #B3CE54 #54CEAC
square
#6F54CE #CE5476 #B3CE54 #54CEAC
split-complementary
#6F54CE #CEAC54 #76CE54
monochromatic
#3A2582 #4F33B2 #6F54CE #9784DC #BFB3E9

Accessibility & contrast

On white

5.48
#6F54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6F54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54CE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54CE#FFFFFF#000000##FFFFFF
##6F54CE1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#517089
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6f54ce;
/* rgb */ color: rgb(111, 84, 206);
/* oklch */ color: oklch(53.9% 0.180 289.1);
Tailwind
colors: {
  custom: {
    50: '#9f85de',
    500: '#6f54ce',
    950: '#000000',
  },
}
SCSS
$custom: #6f54ce;
$custom-light: #9f85de;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54ce",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 253.279,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.18042,
    "h": 289.1
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#6F54CE
secondary
#CDD8A6
accent
#DF49BE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6F54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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