#6B5CF0#6B5CF0

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

Color values

HEX#6B5CF0
RGBrgb(107, 92, 240)
HSLhsl(246, 83%, 65%)
HSVhsv(246, 62%, 94%)
CMYKcmyk(55.4%, 61.7%, 0%, 5.9%)
CIE-LABlab(48.35, 45.60, -72.75)
CIE-LCHlch(48.35, 85.86, 302.08°)
OKLaboklab(57.37% 0.044 -0.209)
OKLCHoklch(57.37% 0.214 281.9)
XYZxyz(25.6139, 17.0697, 84.3663)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CF0 #E1F05C
analogous
#5C97F0 #6B5CF0 #B55CF0
triadic
#6B5CF0 #F06B5C #5CF06B
tetradic
#6B5CF0 #F05C97 #E1F05C #5CF0B5
square
#6B5CF0 #F05C97 #E1F05C #5CF0B5
split-complementary
#6B5CF0 #F0B55C #97F05C
monochromatic
#2312C0 #3824EB #6B5CF0 #9E94F5 #D1CCFA

Accessibility & contrast

On white

4.76
#6B5CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6B5CF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CF0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CF0#FFFFFF#000000##FFFFFF
##6B5CF01.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006EED
Tritanopia (blue-blind)
#27809D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6b5cf0;
/* rgb */ color: rgb(107, 92, 240);
/* oklch */ color: oklch(57.4% 0.214 281.9);
Tailwind
colors: {
  custom: {
    50: '#a18bf6',
    500: '#6b5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #6b5cf0;
$custom-light: #a18bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5cf0",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 246.081,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.21356,
    "h": 281.9
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#6B5CF0
secondary
#E8EDBB
accent
#E006CA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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