#6D5EF7#6D5EF7

#6D5EF7 is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.4% C 0.220 H 281.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6D5EF7
RGBrgb(109, 94, 247)
HSLhsl(246, 91%, 67%)
HSVhsv(246, 62%, 97%)
CMYKcmyk(55.9%, 61.9%, 0%, 3.1%)
CIE-LABlab(49.46, 46.90, -74.85)
CIE-LCHlch(49.46, 88.33, 302.07°)
OKLaboklab(58.39% 0.0441 -0.2151)
OKLCHoklch(58.39% 0.22 281.6)
XYZxyz(27.0927, 17.9703, 90.0186)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5EF7 #E8F75E
analogous
#5E9CF7 #6D5EF7 #B95EF7
triadic
#6D5EF7 #F76D5E #5EF76D
tetradic
#6D5EF7 #F75E9C #E8F75E #5EF7B9
square
#6D5EF7 #F75E9C #E8F75E #5EF7B9
split-complementary
#6D5EF7 #F7B95E #9CF75E
monochromatic
#1E0AD0 #3824F4 #6D5EF7 #A298FA #D7D3FD

Accessibility & contrast

On white

4.57
#6D5EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6D5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D5EF7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5EF7#FFFFFF#000000##000000
##6D5EF71.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFC
Deuteranopia (green-blind)
#0070F4
Tritanopia (blue-blind)
#2384A2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6d5ef7;
/* rgb */ color: rgb(109, 94, 247);
/* oklch */ color: oklch(58.4% 0.220 281.6);
Tailwind
colors: {
  custom: {
    50: '#a38cfb',
    500: '#6d5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #6d5ef7;
$custom-light: #a38cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5ef7",
  "rgb": {
    "r": 109,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 245.882,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58389,
    "c": 0.21956,
    "h": 281.6
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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