#6B5DFE#6B5DFE

#6B5DFE is a mid, highly saturated blue. Relative luminance 0.181; OKLCH L 58.6% C 0.230 H 280.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6B5DFE
RGBrgb(107, 93, 254)
HSLhsl(245, 99%, 68%)
HSVhsv(245, 63%, 100%)
CMYKcmyk(57.9%, 63.4%, 0%, 0.4%)
CIE-LABlab(49.63, 49.27, -78.48)
CIE-LCHlch(49.63, 92.66, 302.12°)
OKLaboklab(58.64% 0.042 -0.2258)
OKLCHoklch(58.64% 0.23 280.5)
XYZxyz(27.8615, 18.1083, 95.7738)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5DFE #F0FE5D
analogous
#5DA0FE #6B5DFE #BB5DFE
triadic
#6B5DFE #FE6B5D #5DFE6B
tetradic
#6B5DFE #FE5DA0 #F0FE5D #5DFEBB
square
#6B5DFE #FE5DA0 #F0FE5D #5DFEBB
split-complementary
#6B5DFE #FEBB5D #A0FE5D
monochromatic
#1501DF #3320FE #6B5DFE #A39AFE #DAD7FF

Accessibility & contrast

On white

4.54
#6B5DFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6B5DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B5DFE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5DFE#FFFFFF#000000##000000
##6B5DFE1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0070FB
Tritanopia (blue-blind)
#0086A5
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6b5dfe;
/* rgb */ color: rgb(107, 93, 254);
/* oklch */ color: oklch(58.6% 0.230 280.5);
Tailwind
colors: {
  custom: {
    50: '#a38cff',
    500: '#6b5dfe',
    950: '#000000',
  },
}
SCSS
$custom: #6b5dfe;
$custom-light: #a38cff;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5dfe",
  "rgb": {
    "r": 107,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 245.217,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.22967,
    "h": 280.5
  },
  "luminance": 0.1811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B5DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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