#6B5DF7#6B5DF7

#6B5DF7 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.1% C 0.221 H 281.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6B5DF7
RGBrgb(107, 93, 247)
HSLhsl(245, 91%, 67%)
HSVhsv(245, 62%, 97%)
CMYKcmyk(56.7%, 62.3%, 0%, 3.1%)
CIE-LABlab(49.09, 47.15, -75.46)
CIE-LCHlch(49.09, 88.97, 302.00°)
OKLaboklab(58.08% 0.0426 -0.2169)
OKLCHoklch(58.08% 0.221 281.1)
XYZxyz(26.7610, 17.6681, 89.9778)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5DF7 #E9F75D
analogous
#5D9CF7 #6B5DF7 #B85DF7
triadic
#6B5DF7 #F76B5D #5DF76B
tetradic
#6B5DF7 #F75D9C #E9F75D #5DF7B8
square
#6B5DF7 #F75D9C #E9F75D #5DF7B8
split-complementary
#6B5DF7 #F7B85D #9CF75D
monochromatic
#1C0ACF #3623F4 #6B5DF7 #A097FA #D6D2FD

Accessibility & contrast

On white

4.63
#6B5DF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#6B5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5DF7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5DF7#FFFFFF#000000##FFFFFF
##6B5DF71.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#006FF4
Tritanopia (blue-blind)
#1983A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b5df7;
/* rgb */ color: rgb(107, 93, 247);
/* oklch */ color: oklch(58.1% 0.221 281.1);
Tailwind
colors: {
  custom: {
    50: '#a28cfb',
    500: '#6b5df7',
    950: '#000000',
  },
}
SCSS
$custom: #6b5df7;
$custom-light: #a28cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5df7",
  "rgb": {
    "r": 107,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 245.455,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58081,
    "c": 0.22106,
    "h": 281.1
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

primary
#6B5DF7
secondary
#ECF1BF
accent
#E600D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6B5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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