#6B5CEC#6B5CEC

#6B5CEC is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.209 H 282.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6B5CEC
RGBrgb(107, 92, 236)
HSLhsl(246, 79%, 64%)
HSVhsv(246, 61%, 93%)
CMYKcmyk(54.7%, 61%, 0%, 7.5%)
CIE-LABlab(48.05, 44.39, -70.99)
CIE-LCHlch(48.05, 83.72, 302.02°)
OKLaboklab(57.06% 0.0442 -0.2038)
OKLCHoklch(57.06% 0.209 282.2)
XYZxyz(25.0262, 16.8347, 81.2713)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CEC #DDEC5C
analogous
#5C95EC #6B5CEC #B35CEC
triadic
#6B5CEC #EC6B5C #5CEC6B
tetradic
#6B5CEC #EC5C95 #DDEC5C #5CECB3
square
#6B5CEC #EC5C95 #DDEC5C #5CECB3
split-complementary
#6B5CEC #ECB35C #95EC5C
monochromatic
#2615B8 #3925E6 #6B5CEC #9D93F2 #CFCAF9

Accessibility & contrast

On white

4.81
#6B5CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6B5CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CEC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CEC#FFFFFF#000000##FFFFFF
##6B5CEC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#2D7F9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b5cec;
/* rgb */ color: rgb(107, 92, 236);
/* oklch */ color: oklch(57.1% 0.209 282.2);
Tailwind
colors: {
  custom: {
    50: '#a08bf3',
    500: '#6b5cec',
    950: '#000000',
  },
}
SCSS
$custom: #6b5cec;
$custom-light: #a08bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5cec",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 246.25,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57064,
    "c": 0.20854,
    "h": 282.2
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#6B5CEC
secondary
#E6EBB9
accent
#DB0AC6
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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