#6257FA#6257FA

#6257FA is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.7% C 0.233 H 278.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6257FA
RGBrgb(98, 87, 250)
HSLhsl(244, 94%, 66%)
HSVhsv(244, 65%, 98%)
CMYKcmyk(60.8%, 65.2%, 0%, 2%)
CIE-LABlab(47.38, 50.10, -79.95)
CIE-LCHlch(47.38, 94.35, 302.07°)
OKLaboklab(56.74% 0.0363 -0.2304)
OKLCHoklch(56.74% 0.233 278.9)
XYZxyz(25.6950, 16.3132, 92.2187)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257FA #EFFA57
analogous
#579DFA #6257FA #B357FA
triadic
#6257FA #FA6257 #57FA62
tetradic
#6257FA #FA579D #EFFA57 #57FAB3
square
#6257FA #FA579D #EFFA57 #57FAB3
split-complementary
#6257FA #FAB357 #9DFA57
monochromatic
#1406D0 #2A1CF8 #6257FA #9A92FC #D1CEFE

Accessibility & contrast

On white

4.93
#6257FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6257FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257FA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257FA#FFFFFF#000000##FFFFFF
##6257FA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006AF7
Tritanopia (blue-blind)
#0081A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6257fa;
/* rgb */ color: rgb(98, 87, 250);
/* oklch */ color: oklch(56.7% 0.233 278.9);
Tailwind
colors: {
  custom: {
    50: '#9e87fd',
    500: '#6257fa',
    950: '#000000',
  },
}
SCSS
$custom: #6257fa;
$custom-light: #9e87fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6257fa",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 244.049,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.2332,
    "h": 278.9
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#6257FA
secondary
#EEF1BC
accent
#E600D6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6257FA

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

Preview Lab → · Contrast checker → · Palette generator →

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