#6B5BF2#6B5BF2

#6B5BF2 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.4% C 0.217 H 281.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6B5BF2
RGBrgb(107, 91, 242)
HSLhsl(246, 85%, 65%)
HSVhsv(246, 62%, 95%)
CMYKcmyk(55.8%, 62.4%, 0%, 5.1%)
CIE-LABlab(48.28, 46.78, -73.98)
CIE-LCHlch(48.28, 87.53, 302.30°)
OKLaboklab(57.37% 0.0447 -0.2126)
OKLCHoklch(57.37% 0.217 281.9)
XYZxyz(25.8265, 17.0171, 85.9109)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BF2 #E2F25B
analogous
#5B96F2 #6B5BF2 #B75BF2
triadic
#6B5BF2 #F26B5B #5BF26B
tetradic
#6B5BF2 #F25B96 #E2F25B #5BF2B7
square
#6B5BF2 #F25B96 #E2F25B #5BF2B7
split-complementary
#6B5BF2 #F2B75B #96F25B
monochromatic
#230FC3 #3822EE #6B5BF2 #9E94F6 #D1CCFB

Accessibility & contrast

On white

4.77
#6B5BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6B5BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BF2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BF2#FFFFFF#000000##FFFFFF
##6B5BF21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#24809E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6b5bf2;
/* rgb */ color: rgb(107, 91, 242);
/* oklch */ color: oklch(57.4% 0.217 281.9);
Tailwind
colors: {
  custom: {
    50: '#a18af7',
    500: '#6b5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #6b5bf2;
$custom-light: #a18af7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5bf2",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 246.358,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57373,
    "c": 0.21725,
    "h": 281.9
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#6B5BF2
secondary
#E8EEBB
accent
#E204CA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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