#6256F7#6256F7

#6256F7 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.3% C 0.231 H 279.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6256F7
RGBrgb(98, 86, 247)
HSLhsl(244, 91%, 65%)
HSVhsv(244, 65%, 97%)
CMYKcmyk(60.3%, 65.2%, 0%, 3.1%)
CIE-LABlab(46.93, 49.74, -79.01)
CIE-LCHlch(46.93, 93.37, 302.19°)
OKLaboklab(56.34% 0.0374 -0.2276)
OKLCHoklch(56.34% 0.231 279.3)
XYZxyz(25.1479, 15.9658, 89.7341)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256F7 #EBF756
analogous
#569AF7 #6256F7 #B256F7
triadic
#6256F7 #F76256 #56F762
tetradic
#6256F7 #F7569A #EBF756 #56F7B2
square
#6256F7 #F7569A #EBF756 #56F7B2
split-complementary
#6256F7 #F7B256 #9AF756
monochromatic
#180AC9 #2C1CF4 #6256F7 #9890FA #CFCBFD

Accessibility & contrast

On white

5.01
#6256F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6256F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256F7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256F7#FFFFFF#000000##FFFFFF
##6256F71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FC
Deuteranopia (green-blind)
#0069F4
Tritanopia (blue-blind)
#00809F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6256f7;
/* rgb */ color: rgb(98, 86, 247);
/* oklch */ color: oklch(56.3% 0.231 279.3);
Tailwind
colors: {
  custom: {
    50: '#9d87fb',
    500: '#6256f7',
    950: '#000000',
  },
}
SCSS
$custom: #6256f7;
$custom-light: #9d87fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6256f7",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 247
  },
  "hsl": {
    "h": 244.472,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56341,
    "c": 0.23069,
    "h": 279.3
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#6256F7
secondary
#EBF0B9
accent
#E600D4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6256F7

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

Preview Lab → · Contrast checker → · Palette generator →

#6256F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva