#6B54E6#6B54E6

#6B54E6 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.211 H 284.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6B54E6
RGBrgb(107, 84, 230)
HSLhsl(249, 74%, 62%)
HSVhsv(249, 63%, 90%)
CMYKcmyk(53.5%, 63.5%, 0%, 9.8%)
CIE-LABlab(45.88, 47.16, -71.14)
CIE-LCHlch(45.88, 85.36, 303.54°)
OKLaboklab(55.34% 0.0522 -0.2043)
OKLCHoklch(55.34% 0.211 284.3)
XYZxyz(23.5123, 15.1783, 76.5383)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B54E6 #CFE654
analogous
#5486E6 #6B54E6 #B454E6
triadic
#6B54E6 #E66B54 #54E66B
tetradic
#6B54E6 #E65486 #CFE654 #54E6B4
square
#6B54E6 #E65486 #CFE654 #54E6B4
split-complementary
#6B54E6 #E6B454 #86E654
monochromatic
#2F18A7 #3E20DD #6B54E6 #9989EE #C7BFF6

Accessibility & contrast

On white

5.20
#6B54E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6B54E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B54E6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B54E6#FFFFFF#000000##FFFFFF
##6B54E61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#367895
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b54e6;
/* rgb */ color: rgb(107, 84, 230);
/* oklch */ color: oklch(55.3% 0.211 284.3);
Tailwind
colors: {
  custom: {
    50: '#a085ef',
    500: '#6b54e6',
    950: '#000000',
  },
}
SCSS
$custom: #6b54e6;
$custom-light: #a085ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6b54e6",
  "rgb": {
    "r": 107,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 249.452,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55339,
    "c": 0.21084,
    "h": 284.3
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#6B54E6
secondary
#DEE6B0
accent
#D70FB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B54E6

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

Preview Lab → · Contrast checker → · Palette generator →

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