#6B5DF6#6B5DF6

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

Color values

HEX#6B5DF6
RGBrgb(107, 93, 246)
HSLhsl(245, 89%, 66%)
HSVhsv(245, 62%, 96%)
CMYKcmyk(56.5%, 62.2%, 0%, 3.5%)
CIE-LABlab(49.02, 46.84, -75.02)
CIE-LCHlch(49.02, 88.44, 301.98°)
OKLaboklab(58% 0.0426 -0.2156)
OKLCHoklch(58% 0.22 281.2)
XYZxyz(26.6071, 17.6066, 89.1673)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5DF6 #E8F65D
analogous
#5D9CF6 #6B5DF6 #B85DF6
triadic
#6B5DF6 #F66B5D #5DF66B
tetradic
#6B5DF6 #F65D9C #E8F65D #5DF6B8
square
#6B5DF6 #F65D9C #E8F65D #5DF6B8
split-complementary
#6B5DF6 #F6B85D #9CF65D
monochromatic
#1D0BCD #3623F3 #6B5DF6 #A097F9 #D5D1FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B5DF6#FFFFFF#000000##FFFFFF
##6B5DF61.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)
#007AFB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#1C83A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b5df6;
/* rgb */ color: rgb(107, 93, 246);
/* oklch */ color: oklch(58.0% 0.220 281.2);
Tailwind
colors: {
  custom: {
    50: '#a18cfa',
    500: '#6b5df6',
    950: '#000000',
  },
}
SCSS
$custom: #6b5df6;
$custom-light: #a18cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5df6",
  "rgb": {
    "r": 107,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 245.49,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58002,
    "c": 0.21983,
    "h": 281.2
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#6B5DF6
secondary
#ECF0BF
accent
#E600D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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