#6B5EF8#6B5EF8

#6B5EF8 is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.3% C 0.221 H 280.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#6B5EF8
RGBrgb(107, 94, 248)
HSLhsl(245, 92%, 67%)
HSVhsv(245, 62%, 97%)
CMYKcmyk(56.9%, 62.1%, 0%, 2.7%)
CIE-LABlab(49.38, 46.88, -75.54)
CIE-LCHlch(49.38, 88.90, 301.82°)
OKLaboklab(58.32% 0.0416 -0.2172)
OKLCHoklch(58.32% 0.221 280.8)
XYZxyz(27.0041, 17.9067, 90.8221)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5EF8 #EBF85E
analogous
#5E9EF8 #6B5EF8 #B85EF8
triadic
#6B5EF8 #F86B5E #5EF86B
tetradic
#6B5EF8 #F85E9E #EBF85E #5EF8B8
square
#6B5EF8 #F85E9E #EBF85E #5EF8B8
split-complementary
#6B5EF8 #F8B85E #9EF85E
monochromatic
#1A09D2 #3523F5 #6B5EF8 #A199FB #D7D3FD

Accessibility & contrast

On white

4.58
#6B5EF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6B5EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B5EF8
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5EF8#FFFFFF#000000##000000
##6B5EF81.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFD
Deuteranopia (green-blind)
#0070F5
Tritanopia (blue-blind)
#1684A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b5ef8;
/* rgb */ color: rgb(107, 94, 248);
/* oklch */ color: oklch(58.3% 0.221 280.8);
Tailwind
colors: {
  custom: {
    50: '#a28cfc',
    500: '#6b5ef8',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ef8;
$custom-light: #a28cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ef8",
  "rgb": {
    "r": 107,
    "g": 94,
    "b": 248
  },
  "hsl": {
    "h": 245.065,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.22111,
    "h": 280.8
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#6B5EF8
secondary
#EDF1C0
accent
#E600D2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6B5EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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