#6B5CEA#6B5CEA

#6B5CEA is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.9% C 0.206 H 282.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6B5CEA
RGBrgb(107, 92, 234)
HSLhsl(246, 77%, 64%)
HSVhsv(246, 61%, 92%)
CMYKcmyk(54.3%, 60.7%, 0%, 8.2%)
CIE-LABlab(47.90, 43.78, -70.10)
CIE-LCHlch(47.90, 82.65, 301.99°)
OKLaboklab(56.91% 0.0444 -0.2012)
OKLCHoklch(56.91% 0.206 282.4)
XYZxyz(24.7373, 16.7191, 79.7496)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5CEA #DBEA5C
analogous
#5C94EA #6B5CEA #B25CEA
triadic
#6B5CEA #EA6B5C #5CEA6B
tetradic
#6B5CEA #EA5C94 #DBEA5C #5CEAB2
square
#6B5CEA #EA5C94 #DBEA5C #5CEAB2
split-complementary
#6B5CEA #EAB25C #94EA5C
monochromatic
#2817B4 #3A26E3 #6B5CEA #9C92F1 #CDC8F8

Accessibility & contrast

On white

4.83
#6B5CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6B5CEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5CEA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5CEA#FFFFFF#000000##FFFFFF
##6B5CEA1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#307E9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b5cea;
/* rgb */ color: rgb(107, 92, 234);
/* oklch */ color: oklch(56.9% 0.206 282.4);
Tailwind
colors: {
  custom: {
    50: '#a08bf2',
    500: '#6b5cea',
    950: '#000000',
  },
}
SCSS
$custom: #6b5cea;
$custom-light: #a08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5cea",
  "rgb": {
    "r": 107,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 246.338,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.20603,
    "h": 282.4
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B5CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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