#6D54F1#6D54F1

#6D54F1 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.4% C 0.224 H 283.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6D54F1
RGBrgb(109, 84, 241)
HSLhsl(250, 85%, 64%)
HSVhsv(250, 65%, 95%)
CMYKcmyk(54.8%, 65.1%, 0%, 5.5%)
CIE-LABlab(46.90, 50.74, -75.67)
CIE-LCHlch(46.90, 91.10, 303.84°)
OKLaboklab(56.38% 0.0536 -0.2175)
OKLCHoklch(56.38% 0.224 283.8)
XYZxyz(25.3493, 15.9412, 84.9432)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D54F1 #D8F154
analogous
#5489F1 #6D54F1 #BB54F1
triadic
#6D54F1 #F16D54 #54F16D
tetradic
#6D54F1 #F15489 #D8F154 #54F1BB
square
#6D54F1 #F15489 #D8F154 #54F1BB
split-complementary
#6D54F1 #F1BB54 #89F154
monochromatic
#2B0FBB #3D1BEC #6D54F1 #9D8DF6 #CEC5FA

Accessibility & contrast

On white

5.01
#6D54F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6D54F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D54F1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D54F1#FFFFFF#000000##FFFFFF
##6D54F11.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F6
Deuteranopia (green-blind)
#006AEE
Tritanopia (blue-blind)
#2F7C9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6d54f1;
/* rgb */ color: rgb(109, 84, 241);
/* oklch */ color: oklch(56.4% 0.224 283.8);
Tailwind
colors: {
  custom: {
    50: '#a286f7',
    500: '#6d54f1',
    950: '#000000',
  },
}
SCSS
$custom: #6d54f1;
$custom-light: #a286f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d54f1",
  "rgb": {
    "r": 109,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 249.554,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.22401,
    "h": 283.8
  },
  "luminance": 0.15943
}

Semantic roles & 50–950 ramp

primary
#6D54F1
secondary
#E3ECB5
accent
#E104BE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D54F1

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

Preview Lab → · Contrast checker → · Palette generator →

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