#6B5BF5#6B5BF5

#6B5BF5 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.6% C 0.221 H 281.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6B5BF5
RGBrgb(107, 91, 245)
HSLhsl(246, 89%, 66%)
HSVhsv(246, 63%, 96%)
CMYKcmyk(56.3%, 62.9%, 0%, 3.9%)
CIE-LABlab(48.51, 47.68, -75.29)
CIE-LCHlch(48.51, 89.12, 302.35°)
OKLaboklab(57.61% 0.0445 -0.2164)
OKLCHoklch(57.61% 0.221 281.6)
XYZxyz(26.2808, 17.1988, 88.3033)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BF5 #E5F55B
analogous
#5B98F5 #6B5BF5 #B85BF5
triadic
#6B5BF5 #F56B5B #5BF56B
tetradic
#6B5BF5 #F55B98 #E5F55B #5BF5B8
square
#6B5BF5 #F55B98 #E5F55B #5BF5B8
split-complementary
#6B5BF5 #F5B85B #98F55B
monochromatic
#200CC9 #3721F1 #6B5BF5 #9F95F9 #D3CEFC

Accessibility & contrast

On white

4.73
#6B5BF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6B5BF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BF5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BF5#FFFFFF#000000##FFFFFF
##6B5BF51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#006EF2
Tritanopia (blue-blind)
#1E81A0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6b5bf5;
/* rgb */ color: rgb(107, 91, 245);
/* oklch */ color: oklch(57.6% 0.221 281.6);
Tailwind
colors: {
  custom: {
    50: '#a18afa',
    500: '#6b5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #6b5bf5;
$custom-light: #a18afa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5bf5",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 246.234,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.22096,
    "h": 281.6
  },
  "luminance": 0.17201
}

Semantic roles & 50–950 ramp

primary
#6B5BF5
secondary
#EAEFBC
accent
#E500CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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