#6B5EF6#6B5EF6

#6B5EF6 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.2% C 0.219 H 281.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6B5EF6
RGBrgb(107, 94, 246)
HSLhsl(245, 89%, 67%)
HSVhsv(245, 62%, 96%)
CMYKcmyk(56.5%, 61.8%, 0%, 3.5%)
CIE-LABlab(49.23, 46.27, -74.67)
CIE-LCHlch(49.23, 87.84, 301.79°)
OKLaboklab(58.16% 0.0418 -0.2146)
OKLCHoklch(58.16% 0.219 281)
XYZxyz(26.6955, 17.7833, 89.1967)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5EF6 #E9F65E
analogous
#5E9DF6 #6B5EF6 #B75EF6
triadic
#6B5EF6 #F66B5E #5EF66B
tetradic
#6B5EF6 #F65E9D #E9F65E #5EF6B7
square
#6B5EF6 #F65E9D #E9F65E #5EF6B7
split-complementary
#6B5EF6 #F6B75E #9DF65E
monochromatic
#1C0CCE #3624F3 #6B5EF6 #A098F9 #D6D2FC

Accessibility & contrast

On white

4.61
#6B5EF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6B5EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5EF6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5EF6#FFFFFF#000000##FFFFFF
##6B5EF61.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#1B83A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b5ef6;
/* rgb */ color: rgb(107, 94, 246);
/* oklch */ color: oklch(58.2% 0.219 281.0);
Tailwind
colors: {
  custom: {
    50: '#a18cfa',
    500: '#6b5ef6',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ef6;
$custom-light: #a18cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ef6",
  "rgb": {
    "r": 107,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 245.132,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58161,
    "c": 0.21863,
    "h": 281
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#6B5EF6
secondary
#ECF0BF
accent
#E600D2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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