#6B5DF4#6B5DF4

#6B5DF4 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.8% C 0.217 H 281.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6B5DF4
RGBrgb(107, 93, 244)
HSLhsl(246, 87%, 66%)
HSVhsv(246, 62%, 96%)
CMYKcmyk(56.1%, 61.9%, 0%, 4.3%)
CIE-LABlab(48.86, 46.24, -74.15)
CIE-LCHlch(48.86, 87.38, 301.95°)
OKLaboklab(57.85% 0.0428 -0.2131)
OKLCHoklch(57.85% 0.217 281.4)
XYZxyz(26.3018, 17.4844, 87.5593)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5DF4 #E6F45D
analogous
#5D9AF4 #6B5DF4 #B65DF4
triadic
#6B5DF4 #F46B5D #5DF46B
tetradic
#6B5DF4 #F45D9A #E6F45D #5DF4B6
square
#6B5DF4 #F45D9A #E6F45D #5DF4B6
split-complementary
#6B5DF4 #F4B65D #9AF45D
monochromatic
#1F0EC9 #3724F0 #6B5DF4 #9F96F8 #D4D0FC

Accessibility & contrast

On white

4.67
#6B5DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#6B5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5DF4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5DF4#FFFFFF#000000##FFFFFF
##6B5DF41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#006FF1
Tritanopia (blue-blind)
#2082A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b5df4;
/* rgb */ color: rgb(107, 93, 244);
/* oklch */ color: oklch(57.8% 0.217 281.4);
Tailwind
colors: {
  custom: {
    50: '#a18cf9',
    500: '#6b5df4',
    950: '#000000',
  },
}
SCSS
$custom: #6b5df4;
$custom-light: #a18cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5df4",
  "rgb": {
    "r": 107,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 245.563,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.21734,
    "h": 281.4
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#6B5DF4
secondary
#EBEFBE
accent
#E402CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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