#6D5EF1#6D5EF1

#6D5EF1 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.9% C 0.212 H 282.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6D5EF1
RGBrgb(109, 94, 241)
HSLhsl(246, 84%, 66%)
HSVhsv(246, 61%, 95%)
CMYKcmyk(54.8%, 61%, 0%, 5.5%)
CIE-LABlab(49.01, 45.09, -72.22)
CIE-LCHlch(49.01, 85.14, 301.98°)
OKLaboklab(57.92% 0.0445 -0.2073)
OKLCHoklch(57.92% 0.212 282.1)
XYZxyz(26.1817, 17.6059, 85.2207)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5EF1 #E2F15E
analogous
#5E99F1 #6D5EF1 #B65EF1
triadic
#6D5EF1 #F16D5E #5EF16D
tetradic
#6D5EF1 #F15E99 #E2F15E #5EF1B6
square
#6D5EF1 #F15E99 #E2F15E #5EF1B6
split-complementary
#6D5EF1 #F1B65E #99F15E
monochromatic
#2311C4 #3A26EC #6D5EF1 #A096F6 #D3CFFB

Accessibility & contrast

On white

4.64
#6D5EF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6D5EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5EF1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5EF1#FFFFFF#000000##FFFFFF
##6D5EF11.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#006FEE
Tritanopia (blue-blind)
#2D829F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6d5ef1;
/* rgb */ color: rgb(109, 94, 241);
/* oklch */ color: oklch(57.9% 0.212 282.1);
Tailwind
colors: {
  custom: {
    50: '#a28cf7',
    500: '#6d5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #6d5ef1;
$custom-light: #a28cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5ef1",
  "rgb": {
    "r": 109,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 246.122,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57924,
    "c": 0.21208,
    "h": 282.1
  },
  "luminance": 0.17607
}

Semantic roles & 50–950 ramp

primary
#6D5EF1
secondary
#E9EEBD
accent
#E005CA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6D5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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