#6B5BDB#6B5BDB

#6B5BDB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.6% C 0.188 H 284.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6B5BDB
RGBrgb(107, 91, 219)
HSLhsl(248, 64%, 61%)
HSVhsv(248, 58%, 86%)
CMYKcmyk(51.1%, 58.4%, 0%, 14.1%)
CIE-LABlab(46.61, 39.84, -63.72)
CIE-LCHlch(46.61, 75.15, 302.02°)
OKLaboklab(55.62% 0.046 -0.1824)
OKLCHoklch(55.62% 0.188 284.1)
XYZxyz(22.5868, 15.7212, 68.8484)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BDB #CBDB5B
analogous
#5B8BDB #6B5BDB #AB5BDB
triadic
#6B5BDB #DB6B5B #5BDB6B
tetradic
#6B5BDB #DB5B8B #CBDB5B #5BDBAB
square
#6B5BDB #DB5B8B #CBDB5B #5BDBAB
split-complementary
#6B5BDB #DBAB5B #8BDB5B
monochromatic
#31229A #412DCC #6B5BDB #988DE6 #C6BFF1

Accessibility & contrast

On white

5.07
#6B5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6B5BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BDB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BDB#FFFFFF#000000##FFFFFF
##6B5BDB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#3F7992
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b5bdb;
/* rgb */ color: rgb(107, 91, 219);
/* oklch */ color: oklch(55.6% 0.188 284.1);
Tailwind
colors: {
  custom: {
    50: '#9e8ae7',
    500: '#6b5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #6b5bdb;
$custom-light: #9e8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5bdb",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 247.5,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55619,
    "c": 0.18813,
    "h": 284.1
  },
  "luminance": 0.15722
}

Semantic roles & 50–950 ramp

primary
#6B5BDB
secondary
#DBE1B1
accent
#CC1AB6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6B5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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