#6C5DF2#6C5DF2

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

Color values

HEX#6C5DF2
RGBrgb(108, 93, 242)
HSLhsl(246, 85%, 66%)
HSVhsv(246, 62%, 95%)
CMYKcmyk(55.4%, 61.6%, 0%, 5.1%)
CIE-LABlab(48.79, 45.80, -73.14)
CIE-LCHlch(48.79, 86.30, 302.05°)
OKLaboklab(57.77% 0.0442 -0.2101)
OKLCHoklch(57.77% 0.215 281.9)
XYZxyz(26.1207, 17.4260, 85.9743)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5DF2 #E3F25D
analogous
#5D98F2 #6C5DF2 #B65DF2
triadic
#6C5DF2 #F26C5D #5DF26C
tetradic
#6C5DF2 #F25D98 #E3F25D #5DF2B6
square
#6C5DF2 #F25D98 #E3F25D #5DF2B6
split-complementary
#6C5DF2 #F2B65D #98F25D
monochromatic
#2210C5 #3924ED #6C5DF2 #9F96F7 #D3CEFB

Accessibility & contrast

On white

4.68
#6C5DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#6C5DF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5DF2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5DF2#FFFFFF#000000##FFFFFF
##6C5DF21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c5df2;
/* rgb */ color: rgb(108, 93, 242);
/* oklch */ color: oklch(57.8% 0.215 281.9);
Tailwind
colors: {
  custom: {
    50: '#a18cf7',
    500: '#6c5df2',
    950: '#000000',
  },
}
SCSS
$custom: #6c5df2;
$custom-light: #a18cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5df2",
  "rgb": {
    "r": 108,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 246.04,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57765,
    "c": 0.2147,
    "h": 281.9
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#6C5DF2
secondary
#E9EEBD
accent
#E204CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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