#6351ED#6351ED

#6351ED is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.8% C 0.224 H 281.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6351ED
RGBrgb(99, 81, 237)
HSLhsl(247, 81%, 62%)
HSVhsv(247, 66%, 93%)
CMYKcmyk(58.2%, 65.8%, 0%, 7.1%)
CIE-LABlab(45.15, 49.65, -76.31)
CIE-LCHlch(45.15, 91.04, 303.05°)
OKLaboklab(54.82% 0.0438 -0.2197)
OKLCHoklch(54.82% 0.224 281.3)
XYZxyz(23.3693, 14.6503, 81.7007)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351ED #DBED51
analogous
#518DED #6351ED #B151ED
triadic
#6351ED #ED6351 #51ED63
tetradic
#6351ED #ED518D #DBED51 #51EDB1
square
#6351ED #ED518D #DBED51 #51EDB1
split-complementary
#6351ED #EDB151 #8DED51
monochromatic
#2512B1 #311AE7 #6351ED #9588F3 #C6C0F8

Accessibility & contrast

On white

5.34
#6351ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6351ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351ED
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351ED#FFFFFF#000000##FFFFFF
##6351ED1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0065EA
Tritanopia (blue-blind)
#007998
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6351ed;
/* rgb */ color: rgb(99, 81, 237);
/* oklch */ color: oklch(54.8% 0.224 281.3);
Tailwind
colors: {
  custom: {
    50: '#9d83f4',
    500: '#6351ed',
    950: '#000000',
  },
}
SCSS
$custom: #6351ed;
$custom-light: #9d83f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6351ed",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 237
  },
  "hsl": {
    "h": 246.923,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.224,
    "h": 281.3
  },
  "luminance": 0.14652
}

Semantic roles & 50–950 ramp

primary
#6351ED
secondary
#E3E9B0
accent
#DE08C5
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6351ED

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

Preview Lab → · Contrast checker → · Palette generator →

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