#6B5DF2#6B5DF2

#6B5DF2 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.7% C 0.215 H 281.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6B5DF2
RGBrgb(107, 93, 242)
HSLhsl(246, 85%, 66%)
HSVhsv(246, 62%, 95%)
CMYKcmyk(55.8%, 61.6%, 0%, 5.1%)
CIE-LABlab(48.71, 45.63, -73.27)
CIE-LCHlch(48.71, 86.32, 301.91°)
OKLaboklab(57.69% 0.0429 -0.2105)
OKLCHoklch(57.69% 0.215 281.5)
XYZxyz(25.9998, 17.3636, 85.9687)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5DF2 #E4F25D
analogous
#5D99F2 #6B5DF2 #B65DF2
triadic
#6B5DF2 #F26B5D #5DF26B
tetradic
#6B5DF2 #F25D99 #E4F25D #5DF2B6
square
#6B5DF2 #F25D99 #E4F25D #5DF2B6
split-complementary
#6B5DF2 #F2B65D #99F25D
monochromatic
#2110C5 #3724ED #6B5DF2 #9F96F7 #D3CEFB

Accessibility & contrast

On white

4.69
#6B5DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6B5DF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5DF2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5DF2#FFFFFF#000000##FFFFFF
##6B5DF21.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#24829F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b5df2;
/* rgb */ color: rgb(107, 93, 242);
/* oklch */ color: oklch(57.7% 0.215 281.5);
Tailwind
colors: {
  custom: {
    50: '#a18cf7',
    500: '#6b5df2',
    950: '#000000',
  },
}
SCSS
$custom: #6b5df2;
$custom-light: #a18cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5df2",
  "rgb": {
    "r": 107,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 245.638,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.21484,
    "h": 281.5
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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