#6B5BDA#6B5BDA

#6B5BDA is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.5% C 0.187 H 284.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6B5BDA
RGBrgb(107, 91, 218)
HSLhsl(248, 63%, 61%)
HSVhsv(248, 58%, 85%)
CMYKcmyk(50.9%, 58.3%, 0%, 14.5%)
CIE-LABlab(46.54, 39.54, -63.26)
CIE-LCHlch(46.54, 74.61, 302.01°)
OKLaboklab(55.55% 0.046 -0.1811)
OKLCHoklch(55.55% 0.187 284.2)
XYZxyz(22.4556, 15.6687, 68.1572)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BDA #CADA5B
analogous
#5B8ADA #6B5BDA #AA5BDA
triadic
#6B5BDA #DA6B5B #5BDA6B
tetradic
#6B5BDA #DA5B8A #CADA5B #5BDAAA
square
#6B5BDA #DA5B8A #CADA5B #5BDAAA
split-complementary
#6B5BDA #DAAA5B #8ADA5B
monochromatic
#312298 #412ECA #6B5BDA #988DE5 #C5BFF1

Accessibility & contrast

On white

5.08
#6B5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6B5BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BDA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BDA#FFFFFF#000000##FFFFFF
##6B5BDA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#407892
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b5bda;
/* rgb */ color: rgb(107, 91, 218);
/* oklch */ color: oklch(55.5% 0.187 284.2);
Tailwind
colors: {
  custom: {
    50: '#9e8ae6',
    500: '#6b5bda',
    950: '#000000',
  },
}
SCSS
$custom: #6b5bda;
$custom-light: #9e8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5bda",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 247.559,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55546,
    "c": 0.18683,
    "h": 284.2
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#6B5BDA
secondary
#DAE1B0
accent
#CB1BB5
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6B5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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