#6B5CFB#6B5CFB

#6B5CFB is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.2% C 0.227 H 280.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6B5CFB
RGBrgb(107, 92, 251)
HSLhsl(246, 95%, 67%)
HSVhsv(246, 63%, 98%)
CMYKcmyk(57.4%, 63.3%, 0%, 1.6%)
CIE-LABlab(49.18, 48.93, -77.53)
CIE-LCHlch(49.18, 91.68, 302.25°)
OKLaboklab(58.24% 0.0431 -0.223)
OKLCHoklch(58.24% 0.227 280.9)
XYZxyz(27.2977, 17.7433, 93.2344)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CFB #ECFB5C
analogous
#5C9DFB #6B5CFB #BA5CFB
triadic
#6B5CFB #FB6B5C #5CFB6B
tetradic
#6B5CFB #FB5C9D #ECFB5C #5CFBBA
square
#6B5CFB #FB5C9D #ECFB5C #5CFBBA
split-complementary
#6B5CFB #FBBA5C #9DFB5C
monochromatic
#1905D7 #3520FA #6B5CFB #A198FC #D7D3FE

Accessibility & contrast

On white

4.62
#6B5CFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#6B5CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CFB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CFB#FFFFFF#000000##FFFFFF
##6B5CFB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#006FF8
Tritanopia (blue-blind)
#0D84A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b5cfb;
/* rgb */ color: rgb(107, 92, 251);
/* oklch */ color: oklch(58.2% 0.227 280.9);
Tailwind
colors: {
  custom: {
    50: '#a28bfe',
    500: '#6b5cfb',
    950: '#000000',
  },
}
SCSS
$custom: #6b5cfb;
$custom-light: #a28bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5cfb",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 251
  },
  "hsl": {
    "h": 245.66,
    "s": 95.21,
    "l": 67.255
  },
  "oklch": {
    "l": 0.58244,
    "c": 0.22716,
    "h": 280.9
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#6B5CFB
secondary
#EEF2C0
accent
#E600D0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6B5CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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