#6B5EF7#6B5EF7

#6B5EF7 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.2% C 0.220 H 280.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6B5EF7
RGBrgb(107, 94, 247)
HSLhsl(245, 91%, 67%)
HSVhsv(245, 62%, 97%)
CMYKcmyk(56.7%, 61.9%, 0%, 3.1%)
CIE-LABlab(49.31, 46.57, -75.10)
CIE-LCHlch(49.31, 88.37, 301.80°)
OKLaboklab(58.24% 0.0417 -0.2159)
OKLCHoklch(58.24% 0.22 280.9)
XYZxyz(26.8494, 17.8448, 90.0072)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5EF7 #EAF75E
analogous
#5E9EF7 #6B5EF7 #B85EF7
triadic
#6B5EF7 #F76B5E #5EF76B
tetradic
#6B5EF7 #F75E9E #EAF75E #5EF7B8
square
#6B5EF7 #F75E9E #EAF75E #5EF7B8
split-complementary
#6B5EF7 #F7B85E #9EF75E
monochromatic
#1B0AD0 #3524F4 #6B5EF7 #A198FA #D6D3FD

Accessibility & contrast

On white

4.60
#6B5EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6B5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5EF7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5EF7#FFFFFF#000000##FFFFFF
##6B5EF71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFC
Deuteranopia (green-blind)
#0070F4
Tritanopia (blue-blind)
#1984A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b5ef7;
/* rgb */ color: rgb(107, 94, 247);
/* oklch */ color: oklch(58.2% 0.220 280.9);
Tailwind
colors: {
  custom: {
    50: '#a18cfb',
    500: '#6b5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ef7;
$custom-light: #a18cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ef7",
  "rgb": {
    "r": 107,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 245.098,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58239,
    "c": 0.21988,
    "h": 280.9
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#6B5EF7
secondary
#EDF1C0
accent
#E600D2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6B5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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