#6B5DF1#6B5DF1

#6B5DF1 is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.6% C 0.214 H 281.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6B5DF1
RGBrgb(107, 93, 241)
HSLhsl(246, 84%, 65%)
HSVhsv(246, 61%, 95%)
CMYKcmyk(55.6%, 61.4%, 0%, 5.5%)
CIE-LABlab(48.64, 45.33, -72.84)
CIE-LCHlch(48.64, 85.79, 301.89°)
OKLaboklab(57.61% 0.043 -0.2092)
OKLCHoklch(57.61% 0.214 281.6)
XYZxyz(25.8500, 17.3037, 85.1798)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5DF1 #E3F15D
analogous
#5D99F1 #6B5DF1 #B55DF1
triadic
#6B5DF1 #F16B5D #5DF16B
tetradic
#6B5DF1 #F15D99 #E3F15D #5DF1B5
square
#6B5DF1 #F15D99 #E3F15D #5DF1B5
split-complementary
#6B5DF1 #F1B55D #99F15D
monochromatic
#2211C3 #3825EC #6B5DF1 #9E95F6 #D2CEFB

Accessibility & contrast

On white

4.71
#6B5DF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6B5DF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5DF1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5DF1#FFFFFF#000000##FFFFFF
##6B5DF11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#006EEE
Tritanopia (blue-blind)
#25819E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b5df1;
/* rgb */ color: rgb(107, 93, 241);
/* oklch */ color: oklch(57.6% 0.214 281.6);
Tailwind
colors: {
  custom: {
    50: '#a18cf7',
    500: '#6b5df1',
    950: '#000000',
  },
}
SCSS
$custom: #6b5df1;
$custom-light: #a18cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5df1",
  "rgb": {
    "r": 107,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 245.676,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57611,
    "c": 0.21359,
    "h": 281.6
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#6B5DF1
secondary
#E9EEBC
accent
#E105CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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