#6B54E4#6B54E4

#6B54E4 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.208 H 284.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6B54E4
RGBrgb(107, 84, 228)
HSLhsl(250, 73%, 61%)
HSVhsv(250, 63%, 89%)
CMYKcmyk(53.1%, 63.2%, 0%, 10.6%)
CIE-LABlab(45.73, 46.57, -70.26)
CIE-LCHlch(45.73, 84.29, 303.54°)
OKLaboklab(55.18% 0.0524 -0.2017)
OKLCHoklch(55.18% 0.208 284.6)
XYZxyz(23.2331, 15.0666, 75.0677)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B54E4 #CDE454
analogous
#5485E4 #6B54E4 #B354E4
triadic
#6B54E4 #E46B54 #54E46B
tetradic
#6B54E4 #E45485 #CDE454 #54E4B3
square
#6B54E4 #E45485 #CDE454 #54E4B3
split-complementary
#6B54E4 #E4B354 #85E454
monochromatic
#301AA4 #3F22D9 #6B54E4 #9989EC #C6BEF5

Accessibility & contrast

On white

5.23
#6B54E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6B54E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B54E4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B54E4#FFFFFF#000000##FFFFFF
##6B54E41.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#387794
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6b54e4;
/* rgb */ color: rgb(107, 84, 228);
/* oklch */ color: oklch(55.2% 0.208 284.6);
Tailwind
colors: {
  custom: {
    50: '#9f85ed',
    500: '#6b54e4',
    950: '#000000',
  },
}
SCSS
$custom: #6b54e4;
$custom-light: #9f85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6b54e4",
  "rgb": {
    "r": 107,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 249.583,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.20837,
    "h": 284.6
  },
  "luminance": 0.15068
}

Semantic roles & 50–950 ramp

primary
#6B54E4
secondary
#DCE5AF
accent
#D511B5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6B54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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