#6B5CF2#6B5CF2

#6B5CF2 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.5% C 0.216 H 281.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6B5CF2
RGBrgb(107, 92, 242)
HSLhsl(246, 85%, 65%)
HSVhsv(246, 62%, 95%)
CMYKcmyk(55.8%, 62%, 0%, 5.1%)
CIE-LABlab(48.50, 46.20, -73.63)
CIE-LCHlch(48.50, 86.92, 302.11°)
OKLaboklab(57.53% 0.0438 -0.2116)
OKLCHoklch(57.53% 0.216 281.7)
XYZxyz(25.9126, 17.1892, 85.9396)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CF2 #E3F25C
analogous
#5C98F2 #6B5CF2 #B65CF2
triadic
#6B5CF2 #F26B5C #5CF26B
tetradic
#6B5CF2 #F25C98 #E3F25C #5CF2B6
square
#6B5CF2 #F25C98 #E3F25C #5CF2B6
split-complementary
#6B5CF2 #F2B65C #98F25C
monochromatic
#2210C4 #3823ED #6B5CF2 #9E95F7 #D2CDFB

Accessibility & contrast

On white

4.73
#6B5CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6B5CF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CF2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CF2#FFFFFF#000000##FFFFFF
##6B5CF21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#24819F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6b5cf2;
/* rgb */ color: rgb(107, 92, 242);
/* oklch */ color: oklch(57.5% 0.216 281.7);
Tailwind
colors: {
  custom: {
    50: '#a18bf7',
    500: '#6b5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #6b5cf2;
$custom-light: #a18bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5cf2",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 246,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5753,
    "c": 0.21605,
    "h": 281.7
  },
  "luminance": 0.17191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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