#6256ED#6256ED

#6256ED is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.5% C 0.218 H 280.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6256ED
RGBrgb(98, 86, 237)
HSLhsl(245, 81%, 63%)
HSVhsv(245, 64%, 93%)
CMYKcmyk(58.6%, 63.7%, 0%, 7.1%)
CIE-LABlab(46.13, 46.67, -74.71)
CIE-LCHlch(46.13, 88.09, 301.99°)
OKLaboklab(55.51% 0.0384 -0.215)
OKLCHoklch(55.51% 0.218 280.1)
XYZxyz(23.6460, 15.3650, 81.8240)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6256ED #E1ED56
analogous
#5695ED #6256ED #AD56ED
triadic
#6256ED #ED6256 #56ED62
tetradic
#6256ED #ED5695 #E1ED56 #56EDAD
square
#6256ED #ED5695 #E1ED56 #56EDAD
split-complementary
#6256ED #EDAD56 #95ED56
monochromatic
#2013B5 #2F1FE7 #6256ED #958DF3 #C9C5F9

Accessibility & contrast

On white

5.16
#6256ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6256ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6256ED
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6256ED#FFFFFF#000000##FFFFFF
##6256ED1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6256ed;
/* rgb */ color: rgb(98, 86, 237);
/* oklch */ color: oklch(55.5% 0.218 280.1);
Tailwind
colors: {
  custom: {
    50: '#9c86f4',
    500: '#6256ed',
    950: '#000000',
  },
}
SCSS
$custom: #6256ed;
$custom-light: #9c86f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6256ed",
  "rgb": {
    "r": 98,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 244.768,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.21841,
    "h": 280.1
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#6256ED
secondary
#E6EAB4
accent
#DD08CC
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6256ED

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

Preview Lab → · Contrast checker → · Palette generator →

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