#6B5EF2#6B5EF2

#6B5EF2 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.8% C 0.214 H 281.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6B5EF2
RGBrgb(107, 94, 242)
HSLhsl(245, 85%, 66%)
HSVhsv(245, 61%, 95%)
CMYKcmyk(55.8%, 61.2%, 0%, 5.1%)
CIE-LABlab(48.93, 45.05, -72.92)
CIE-LCHlch(48.93, 85.71, 301.71°)
OKLaboklab(57.85% 0.042 -0.2095)
OKLCHoklch(57.85% 0.214 281.3)
XYZxyz(26.0881, 17.5403, 85.9981)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5EF2 #E5F25E
analogous
#5E9BF2 #6B5EF2 #B55EF2
triadic
#6B5EF2 #F26B5E #5EF26B
tetradic
#6B5EF2 #F25E9B #E5F25E #5EF2B5
square
#6B5EF2 #F25E9B #E5F25E #5EF2B5
split-complementary
#6B5EF2 #F2B55E #9BF25E
monochromatic
#2010C6 #3725ED #6B5EF2 #9F97F7 #D3CFFB

Accessibility & contrast

On white

4.66
#6B5EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6B5EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5EF2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5EF2#FFFFFF#000000##FFFFFF
##6B5EF21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#24829F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b5ef2;
/* rgb */ color: rgb(107, 94, 242);
/* oklch */ color: oklch(57.8% 0.214 281.3);
Tailwind
colors: {
  custom: {
    50: '#a18cf7',
    500: '#6b5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ef2;
$custom-light: #a18cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ef2",
  "rgb": {
    "r": 107,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 245.27,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57849,
    "c": 0.21363,
    "h": 281.3
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#6B5EF2
secondary
#EAEEBD
accent
#E204CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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