#6B5CF7#6B5CF7

#6B5CF7 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.9% C 0.222 H 281.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6B5CF7
RGBrgb(107, 92, 247)
HSLhsl(246, 91%, 66%)
HSVhsv(246, 63%, 97%)
CMYKcmyk(56.7%, 62.8%, 0%, 3.1%)
CIE-LABlab(48.88, 47.72, -75.81)
CIE-LCHlch(48.88, 89.57, 302.19°)
OKLaboklab(57.93% 0.0435 -0.218)
OKLCHoklch(57.93% 0.222 281.3)
XYZxyz(26.6738, 17.4937, 89.9487)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CF7 #E8F75C
analogous
#5C9BF7 #6B5CF7 #B85CF7
triadic
#6B5CF7 #F76B5C #5CF76B
tetradic
#6B5CF7 #F75C9B #E8F75C #5CF7B8
square
#6B5CF7 #F75C9B #E8F75C #5CF7B8
split-complementary
#6B5CF7 #F7B85C #9BF75C
monochromatic
#1D0ACE #3622F4 #6B5CF7 #A096FA #D5D1FD

Accessibility & contrast

On white

4.67
#6B5CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#6B5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CF7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CF7#FFFFFF#000000##FFFFFF
##6B5CF71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#006EF4
Tritanopia (blue-blind)
#1A83A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b5cf7;
/* rgb */ color: rgb(107, 92, 247);
/* oklch */ color: oklch(57.9% 0.222 281.3);
Tailwind
colors: {
  custom: {
    50: '#a28bfb',
    500: '#6b5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #6b5cf7;
$custom-light: #a28bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5cf7",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 245.806,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.22225,
    "h": 281.3
  },
  "luminance": 0.17495
}

Semantic roles & 50–950 ramp

primary
#6B5CF7
secondary
#ECF1BE
accent
#E600CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6B5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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