#6B5EF1#6B5EF1

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

Color values

HEX#6B5EF1
RGBrgb(107, 94, 241)
HSLhsl(245, 84%, 66%)
HSVhsv(245, 61%, 95%)
CMYKcmyk(55.6%, 61%, 0%, 5.5%)
CIE-LABlab(48.86, 44.75, -72.48)
CIE-LCHlch(48.86, 85.18, 301.69°)
OKLaboklab(57.77% 0.0421 -0.2082)
OKLCHoklch(57.77% 0.212 281.4)
XYZxyz(25.9384, 17.4804, 85.2093)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5EF1 #E4F15E
analogous
#5E9AF1 #6B5EF1 #B45EF1
triadic
#6B5EF1 #F16B5E #5EF16B
tetradic
#6B5EF1 #F15E9A #E4F15E #5EF1B4
square
#6B5EF1 #F15E9A #E4F15E #5EF1B4
split-complementary
#6B5EF1 #F1B45E #9AF15E
monochromatic
#2111C4 #3726EC #6B5EF1 #9F96F6 #D3CFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B5EF1#FFFFFF#000000##FFFFFF
##6B5EF11.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)
#0079F6
Deuteranopia (green-blind)
#006FEE
Tritanopia (blue-blind)
#25829F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b5ef1;
/* rgb */ color: rgb(107, 94, 241);
/* oklch */ color: oklch(57.8% 0.212 281.4);
Tailwind
colors: {
  custom: {
    50: '#a18cf7',
    500: '#6b5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ef1;
$custom-light: #a18cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ef1",
  "rgb": {
    "r": 107,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 245.306,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57772,
    "c": 0.21238,
    "h": 281.4
  },
  "luminance": 0.17482
}

Semantic roles & 50–950 ramp

primary
#6B5EF1
secondary
#EAEEBD
accent
#E005CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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