#6B5BF1#6B5BF1

#6B5BF1 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.3% C 0.216 H 282.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6B5BF1
RGBrgb(107, 91, 241)
HSLhsl(246, 84%, 65%)
HSVhsv(246, 62%, 95%)
CMYKcmyk(55.6%, 62.2%, 0%, 5.5%)
CIE-LABlab(48.21, 46.47, -73.54)
CIE-LCHlch(48.21, 87.00, 302.29°)
OKLaboklab(57.29% 0.0448 -0.2113)
OKLCHoklch(57.29% 0.216 282)
XYZxyz(25.6768, 16.9572, 85.1221)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BF1 #E1F15B
analogous
#5B96F1 #6B5BF1 #B65BF1
triadic
#6B5BF1 #F16B5B #5BF16B
tetradic
#6B5BF1 #F15B96 #E1F15B #5BF1B6
square
#6B5BF1 #F15B96 #E1F15B #5BF1B6
split-complementary
#6B5BF1 #F1B65B #96F15B
monochromatic
#2310C1 #3823EC #6B5BF1 #9E93F6 #D1CCFB

Accessibility & contrast

On white

4.78
#6B5BF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6B5BF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BF1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BF1#FFFFFF#000000##FFFFFF
##6B5BF11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#006DEE
Tritanopia (blue-blind)
#26809E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b5bf1;
/* rgb */ color: rgb(107, 91, 241);
/* oklch */ color: oklch(57.3% 0.216 282.0);
Tailwind
colors: {
  custom: {
    50: '#a18af7',
    500: '#6b5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #6b5bf1;
$custom-light: #a18af7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5bf1",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 246.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57294,
    "c": 0.21601,
    "h": 282
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#6B5BF1
secondary
#E8EDBA
accent
#E105C9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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