#6D54F0#6D54F0

#6D54F0 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.3% C 0.223 H 283.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6D54F0
RGBrgb(109, 84, 240)
HSLhsl(250, 84%, 64%)
HSVhsv(250, 65%, 94%)
CMYKcmyk(54.6%, 65%, 0%, 5.9%)
CIE-LABlab(46.82, 50.44, -75.24)
CIE-LCHlch(46.82, 90.58, 303.84°)
OKLaboklab(56.3% 0.0537 -0.2162)
OKLCHoklch(56.3% 0.223 283.9)
XYZxyz(25.2004, 15.8816, 84.1587)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54F0 #D7F054
analogous
#5489F0 #6D54F0 #BB54F0
triadic
#6D54F0 #F06D54 #54F06D
tetradic
#6D54F0 #F05489 #D7F054 #54F0BB
square
#6D54F0 #F05489 #D7F054 #54F0BB
split-complementary
#6D54F0 #F0BB54 #89F054
monochromatic
#2B10B9 #3D1CEB #6D54F0 #9D8CF5 #CDC5FA

Accessibility & contrast

On white

5.03
#6D54F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6D54F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D54F0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D54F0#FFFFFF#000000##FFFFFF
##6D54F01.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#006AED
Tritanopia (blue-blind)
#307B9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6d54f0;
/* rgb */ color: rgb(109, 84, 240);
/* oklch */ color: oklch(56.3% 0.223 283.9);
Tailwind
colors: {
  custom: {
    50: '#a286f6',
    500: '#6d54f0',
    950: '#000000',
  },
}
SCSS
$custom: #6d54f0;
$custom-light: #a286f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54f0",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 240
  },
  "hsl": {
    "h": 249.615,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.22281,
    "h": 283.9
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#6D54F0
secondary
#E3ECB4
accent
#E005BD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D54F0

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

Preview Lab → · Contrast checker → · Palette generator →

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