#6B5CEF#6B5CEF

#6B5CEF is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.3% C 0.212 H 282.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6B5CEF
RGBrgb(107, 92, 239)
HSLhsl(246, 82%, 65%)
HSVhsv(246, 62%, 94%)
CMYKcmyk(55.2%, 61.5%, 0%, 6.3%)
CIE-LABlab(48.27, 45.30, -72.31)
CIE-LCHlch(48.27, 85.33, 302.06°)
OKLaboklab(57.3% 0.0441 -0.2077)
OKLCHoklch(57.3% 0.212 282)
XYZxyz(25.4657, 17.0105, 83.5861)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CEF #E0EF5C
analogous
#5C97EF #6B5CEF #B45CEF
triadic
#6B5CEF #EF6B5C #5CEF6B
tetradic
#6B5CEF #EF5C97 #E0EF5C #5CEFB4
square
#6B5CEF #EF5C97 #E0EF5C #5CEFB4
split-complementary
#6B5CEF #EFB45C #97EF5C
monochromatic
#2413BE #3824EA #6B5CEF #9E94F4 #D0CBFA

Accessibility & contrast

On white

4.77
#6B5CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6B5CEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CEF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CEF#FFFFFF#000000##FFFFFF
##6B5CEF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#29809D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6b5cef;
/* rgb */ color: rgb(107, 92, 239);
/* oklch */ color: oklch(57.3% 0.212 282.0);
Tailwind
colors: {
  custom: {
    50: '#a08bf5',
    500: '#6b5cef',
    950: '#000000',
  },
}
SCSS
$custom: #6b5cef;
$custom-light: #a08bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5cef",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 246.122,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57296,
    "c": 0.21231,
    "h": 282
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#6B5CEF
secondary
#E7ECBA
accent
#DF07C9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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