#6B5DF9#6B5DF9

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

Color values

HEX#6B5DF9
RGBrgb(107, 93, 249)
HSLhsl(245, 93%, 67%)
HSVhsv(245, 63%, 98%)
CMYKcmyk(57%, 62.7%, 0%, 2.4%)
CIE-LABlab(49.24, 47.75, -76.32)
CIE-LCHlch(49.24, 90.03, 302.03°)
OKLaboklab(58.24% 0.0424 -0.2195)
OKLCHoklch(58.24% 0.224 280.9)
XYZxyz(27.0713, 17.7922, 91.6119)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5DF9 #EBF95D
analogous
#5D9DF9 #6B5DF9 #B95DF9
triadic
#6B5DF9 #F96B5D #5DF96B
tetradic
#6B5DF9 #F95D9D #EBF95D #5DF9B9
square
#6B5DF9 #F95D9D #EBF95D #5DF9B9
split-complementary
#6B5DF9 #F9B95D #9DF95D
monochromatic
#1A08D4 #3522F7 #6B5DF9 #A198FB #D7D3FD

Accessibility & contrast

On white

4.61
#6B5DF9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6B5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5DF9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5DF9#FFFFFF#000000##FFFFFF
##6B5DF91.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFE
Deuteranopia (green-blind)
#006FF6
Tritanopia (blue-blind)
#1484A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b5df9;
/* rgb */ color: rgb(107, 93, 249);
/* oklch */ color: oklch(58.2% 0.224 280.9);
Tailwind
colors: {
  custom: {
    50: '#a28cfc',
    500: '#6b5df9',
    950: '#000000',
  },
}
SCSS
$custom: #6b5df9;
$custom-light: #a28cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5df9",
  "rgb": {
    "r": 107,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 245.385,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.5824,
    "c": 0.22353,
    "h": 280.9
  },
  "luminance": 0.17794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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