#6257C7#6257C7

#6257C7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.168 H 283.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6257C7
RGBrgb(98, 87, 199)
HSLhsl(246, 50%, 56%)
HSVhsv(246, 56%, 78%)
CMYKcmyk(50.8%, 56.3%, 0%, 22%)
CIE-LABlab(43.56, 34.35, -57.21)
CIE-LCHlch(43.56, 66.73, 300.98°)
OKLaboklab(52.75% 0.0391 -0.1636)
OKLCHoklch(52.75% 0.168 283.4)
XYZxyz(18.7509, 13.5356, 55.6464)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257C7 #BCC757
analogous
#5784C7 #6257C7 #9A57C7
triadic
#6257C7 #C76257 #57C762
tetradic
#6257C7 #C75784 #BCC757 #57C79A
square
#6257C7 #C75784 #BCC757 #57C79A
split-complementary
#6257C7 #C79A57 #84C757
monochromatic
#31297B #4338A9 #6257C7 #8D85D6 #B8B3E6

Accessibility & contrast

On white

5.66
#6257C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6257C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257C7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257C7#FFFFFF#000000##FFFFFF
##6257C71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066BCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#3B7086
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6257c7;
/* rgb */ color: rgb(98, 87, 199);
/* oklch */ color: oklch(52.7% 0.168 283.4);
Tailwind
colors: {
  custom: {
    50: '#9687d9',
    500: '#6257c7',
    950: '#000000',
  },
}
SCSS
$custom: #6257c7;
$custom-light: #9687d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6257c7",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 245.893,
    "s": 50,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.16818,
    "h": 283.4
  },
  "luminance": 0.13537
}

Semantic roles & 50–950 ramp

primary
#6257C7
secondary
#CFD4A6
accent
#DA4ECC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6257C7

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

Preview Lab → · Contrast checker → · Palette generator →

#6257C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva