#6256F6#6256F6

#6256F6 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.3% C 0.229 H 279.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6256F6
RGBrgb(98, 86, 246)
HSLhsl(245, 90%, 65%)
HSVhsv(245, 65%, 96%)
CMYKcmyk(60.2%, 65%, 0%, 3.5%)
CIE-LABlab(46.85, 49.44, -78.59)
CIE-LCHlch(46.85, 92.84, 302.17°)
OKLaboklab(56.26% 0.0375 -0.2264)
OKLCHoklch(56.26% 0.229 279.4)
XYZxyz(24.9941, 15.9042, 88.9236)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256F6 #EAF656
analogous
#569AF6 #6256F6 #B256F6
triadic
#6256F6 #F66256 #56F662
tetradic
#6256F6 #F6569A #EAF656 #56F6B2
square
#6256F6 #F6569A #EAF656 #56F6B2
split-complementary
#6256F6 #F6B256 #9AF656
monochromatic
#190BC7 #2C1CF3 #6256F6 #9890F9 #CECAFC

Accessibility & contrast

On white

5.02
#6256F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6256F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256F6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256F6#FFFFFF#000000##FFFFFF
##6256F61.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FB
Deuteranopia (green-blind)
#0069F3
Tritanopia (blue-blind)
#007F9F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6256f6;
/* rgb */ color: rgb(98, 86, 246);
/* oklch */ color: oklch(56.3% 0.229 279.4);
Tailwind
colors: {
  custom: {
    50: '#9d87fa',
    500: '#6256f6',
    950: '#000000',
  },
}
SCSS
$custom: #6256f6;
$custom-light: #9d87fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6256f6",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 246
  },
  "hsl": {
    "h": 244.5,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56257,
    "c": 0.22947,
    "h": 279.4
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6256F6

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

Preview Lab → · Contrast checker → · Palette generator →

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