#6B5CEB#6B5CEB

#6B5CEB is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.0% C 0.207 H 282.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6B5CEB
RGBrgb(107, 92, 235)
HSLhsl(246, 78%, 64%)
HSVhsv(246, 61%, 92%)
CMYKcmyk(54.5%, 60.9%, 0%, 7.8%)
CIE-LABlab(47.98, 44.09, -70.55)
CIE-LCHlch(47.98, 83.19, 302.00°)
OKLaboklab(56.99% 0.0443 -0.2025)
OKLCHoklch(56.99% 0.207 282.3)
XYZxyz(24.8813, 16.7767, 80.5083)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CEB #DCEB5C
analogous
#5C95EB #6B5CEB #B35CEB
triadic
#6B5CEB #EB6B5C #5CEB6B
tetradic
#6B5CEB #EB5C95 #DCEB5C #5CEBB3
square
#6B5CEB #EB5C95 #DCEB5C #5CEBB3
split-complementary
#6B5CEB #EBB35C #95EB5C
monochromatic
#2716B6 #3A25E4 #6B5CEB #9C93F2 #CEC9F8

Accessibility & contrast

On white

4.82
#6B5CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6B5CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CEB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CEB#FFFFFF#000000##FFFFFF
##6B5CEB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#2E7F9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b5ceb;
/* rgb */ color: rgb(107, 92, 235);
/* oklch */ color: oklch(57.0% 0.207 282.3);
Tailwind
colors: {
  custom: {
    50: '#a08bf2',
    500: '#6b5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ceb;
$custom-light: #a08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ceb",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 246.294,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56987,
    "c": 0.20729,
    "h": 282.3
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#6B5CEB
secondary
#E5EAB8
accent
#DA0BC5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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