#6B5EF5#6B5EF5

#6B5EF5 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.1% C 0.217 H 281.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6B5EF5
RGBrgb(107, 94, 245)
HSLhsl(245, 88%, 66%)
HSVhsv(245, 62%, 96%)
CMYKcmyk(56.3%, 61.6%, 0%, 3.9%)
CIE-LABlab(49.16, 45.97, -74.23)
CIE-LCHlch(49.16, 87.31, 301.77°)
OKLaboklab(58.08% 0.0418 -0.2133)
OKLCHoklch(58.08% 0.217 281.1)
XYZxyz(26.5424, 17.7220, 88.3905)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5EF5 #E8F55E
analogous
#5E9DF5 #6B5EF5 #B75EF5
triadic
#6B5EF5 #F56B5E #5EF56B
tetradic
#6B5EF5 #F55E9D #E8F55E #5EF5B7
square
#6B5EF5 #F55E9D #E8F55E #5EF5B7
split-complementary
#6B5EF5 #F5B75E #9DF55E
monochromatic
#1D0DCC #3624F1 #6B5EF5 #A098F9 #D5D1FC

Accessibility & contrast

On white

4.62
#6B5EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#6B5EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5EF5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5EF5#FFFFFF#000000##FFFFFF
##6B5EF51.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#006FF2
Tritanopia (blue-blind)
#1E83A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b5ef5;
/* rgb */ color: rgb(107, 94, 245);
/* oklch */ color: oklch(58.1% 0.217 281.1);
Tailwind
colors: {
  custom: {
    50: '#a18cf9',
    500: '#6b5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ef5;
$custom-light: #a18cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ef5",
  "rgb": {
    "r": 107,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 245.166,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58082,
    "c": 0.21738,
    "h": 281.1
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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