#6B5CFE#6B5CFE

#6B5CFE is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.5% C 0.231 H 280.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6B5CFE
RGBrgb(107, 92, 254)
HSLhsl(246, 99%, 68%)
HSVhsv(246, 64%, 100%)
CMYKcmyk(57.9%, 63.8%, 0%, 0.4%)
CIE-LABlab(49.42, 49.83, -78.82)
CIE-LCHlch(49.42, 93.25, 302.30°)
OKLaboklab(58.49% 0.0428 -0.2268)
OKLCHoklch(58.49% 0.231 280.7)
XYZxyz(27.7743, 17.9339, 95.7447)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CFE #EFFE5C
analogous
#5C9EFE #6B5CFE #BC5CFE
triadic
#6B5CFE #FE6B5C #5CFE6B
tetradic
#6B5CFE #FE5C9E #EFFE5C #5CFEBC
square
#6B5CFE #FE5C9E #EFFE5C #5CFEBC
split-complementary
#6B5CFE #FEBC5C #9EFE5C
monochromatic
#1601DE #341FFE #6B5CFE #A299FE #D9D6FF

Accessibility & contrast

On white

4.58
#6B5CFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6B5CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B5CFE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CFE#FFFFFF#000000##000000
##6B5CFE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#006FFB
Tritanopia (blue-blind)
#0085A5
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b5cfe;
/* rgb */ color: rgb(107, 92, 254);
/* oklch */ color: oklch(58.5% 0.231 280.7);
Tailwind
colors: {
  custom: {
    50: '#a38bff',
    500: '#6b5cfe',
    950: '#000000',
  },
}
SCSS
$custom: #6b5cfe;
$custom-light: #a38bff;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5cfe",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 254
  },
  "hsl": {
    "h": 245.556,
    "s": 98.78,
    "l": 67.843
  },
  "oklch": {
    "l": 0.58485,
    "c": 0.23082,
    "h": 280.7
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#6B5CFE
secondary
#EFF4C2
accent
#E600D0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6B5CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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