#6B54E7#6B54E7

#6B54E7 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.4% C 0.212 H 284.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6B54E7
RGBrgb(107, 84, 231)
HSLhsl(249, 75%, 62%)
HSVhsv(249, 64%, 91%)
CMYKcmyk(53.7%, 63.6%, 0%, 9.4%)
CIE-LABlab(45.95, 47.46, -71.58)
CIE-LCHlch(45.95, 85.89, 303.54°)
OKLaboklab(55.42% 0.0521 -0.2056)
OKLCHoklch(55.42% 0.212 284.2)
XYZxyz(23.6532, 15.2346, 77.2800)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B54E7 #D0E754
analogous
#5487E7 #6B54E7 #B554E7
triadic
#6B54E7 #E76B54 #54E76B
tetradic
#6B54E7 #E75487 #D0E754 #54E7B5
square
#6B54E7 #E75487 #D0E754 #54E7B5
split-complementary
#6B54E7 #E7B554 #87E754
monochromatic
#2E18A9 #3D1FDF #6B54E7 #998AEF #C8BFF6

Accessibility & contrast

On white

5.19
#6B54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6B54E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B54E7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B54E7#FFFFFF#000000##FFFFFF
##6B54E71.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#347896
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b54e7;
/* rgb */ color: rgb(107, 84, 231);
/* oklch */ color: oklch(55.4% 0.212 284.2);
Tailwind
colors: {
  custom: {
    50: '#a085f0',
    500: '#6b54e7',
    950: '#000000',
  },
}
SCSS
$custom: #6b54e7;
$custom-light: #a085f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b54e7",
  "rgb": {
    "r": 107,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 249.388,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55418,
    "c": 0.21207,
    "h": 284.2
  },
  "luminance": 0.15236
}

Semantic roles & 50–950 ramp

primary
#6B54E7
secondary
#DEE7B0
accent
#D80EB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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