#6B5BE7#6B5BE7

#6B5BE7 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.5% C 0.203 H 282.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6B5BE7
RGBrgb(107, 91, 231)
HSLhsl(247, 74%, 63%)
HSVhsv(247, 61%, 91%)
CMYKcmyk(53.7%, 60.6%, 0%, 9.4%)
CIE-LABlab(47.46, 43.46, -69.13)
CIE-LCHlch(47.46, 81.65, 302.16°)
OKLaboklab(56.52% 0.0455 -0.1983)
OKLCHoklch(56.52% 0.203 282.9)
XYZxyz(24.2239, 16.3761, 77.4703)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BE7 #D7E75B
analogous
#5B91E7 #6B5BE7 #B15BE7
triadic
#6B5BE7 #E76B5B #5BE76B
tetradic
#6B5BE7 #E75B91 #D7E75B #5BE7B1
square
#6B5BE7 #E75B91 #D7E75B #5BE7B1
split-complementary
#6B5BE7 #E7B15B #91E75B
monochromatic
#2A19AE #3B26DF #6B5BE7 #9B90EF #CBC6F7

Accessibility & contrast

On white

4.91
#6B5BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#6B5BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BE7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BE7#FFFFFF#000000##FFFFFF
##6B5BE71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#337D98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b5be7;
/* rgb */ color: rgb(107, 91, 231);
/* oklch */ color: oklch(56.5% 0.203 282.9);
Tailwind
colors: {
  custom: {
    50: '#9f8af0',
    500: '#6b5be7',
    950: '#000000',
  },
}
SCSS
$custom: #6b5be7;
$custom-light: #9f8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5be7",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 246.857,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56519,
    "c": 0.20348,
    "h": 282.9
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#6B5BE7
secondary
#E2E8B6
accent
#D70FC0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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