#6B57F2#6B57F2

#6B57F2 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.8% C 0.222 H 282.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6B57F2
RGBrgb(107, 87, 242)
HSLhsl(248, 86%, 65%)
HSVhsv(248, 64%, 95%)
CMYKcmyk(55.8%, 64%, 0%, 5.1%)
CIE-LABlab(47.43, 49.04, -75.36)
CIE-LCHlch(47.43, 89.92, 303.05°)
OKLaboklab(56.76% 0.0483 -0.2167)
OKLCHoklch(56.76% 0.222 282.6)
XYZxyz(25.4937, 16.3514, 85.7999)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B57F2 #DEF257
analogous
#5791F2 #6B57F2 #B957F2
triadic
#6B57F2 #F26B57 #57F26B
tetradic
#6B57F2 #F25791 #DEF257 #57F2B9
square
#6B57F2 #F25791 #DEF257 #57F2B9
split-complementary
#6B57F2 #F2B957 #91F257
monochromatic
#260FC0 #391EEE #6B57F2 #9D90F6 #CFC9FB

Accessibility & contrast

On white

4.92
#6B57F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6B57F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B57F2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B57F2#FFFFFF#000000##FFFFFF
##6B57F21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#257E9D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6b57f2;
/* rgb */ color: rgb(107, 87, 242);
/* oklch */ color: oklch(56.8% 0.222 282.6);
Tailwind
colors: {
  custom: {
    50: '#a188f7',
    500: '#6b57f2',
    950: '#000000',
  },
}
SCSS
$custom: #6b57f2;
$custom-light: #a188f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b57f2",
  "rgb": {
    "r": 107,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 247.742,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.22199,
    "h": 282.6
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#6B57F2
secondary
#E6EDB8
accent
#E203C5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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