#6F54ED#6F54ED

#6F54ED is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.2% C 0.219 H 285.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6F54ED
RGBrgb(111, 84, 237)
HSLhsl(251, 81%, 63%)
HSVhsv(251, 65%, 93%)
CMYKcmyk(53.2%, 64.6%, 0%, 7.1%)
CIE-LABlab(46.75, 49.90, -73.65)
CIE-LCHlch(46.75, 88.96, 304.12°)
OKLaboklab(56.23% 0.0566 -0.2115)
OKLCHoklch(56.23% 0.219 285)
XYZxyz(25.0073, 15.8332, 81.8427)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54ED #D2ED54
analogous
#5486ED #6F54ED #BB54ED
triadic
#6F54ED #ED6F54 #54ED6F
tetradic
#6F54ED #ED5486 #D2ED54 #54EDBB
square
#6F54ED #ED5486 #D2ED54 #54EDBB
split-complementary
#6F54ED #EDBB54 #86ED54
monochromatic
#2F13B4 #401DE7 #6F54ED #9E8BF3 #CCC3F9

Accessibility & contrast

On white

5.04
#6F54ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6F54ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54ED
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54ED#FFFFFF#000000##FFFFFF
##6F54ED1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#397A99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6f54ed;
/* rgb */ color: rgb(111, 84, 237);
/* oklch */ color: oklch(56.2% 0.219 285.0);
Tailwind
colors: {
  custom: {
    50: '#a386f4',
    500: '#6f54ed',
    950: '#000000',
  },
}
SCSS
$custom: #6f54ed;
$custom-light: #a386f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54ed",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 250.588,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.21896,
    "h": 285
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

primary
#6F54ED
secondary
#E0EAB3
accent
#DD08B8
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F54ED

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

Preview Lab → · Contrast checker → · Palette generator →

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