#6351F6#6351F6

#6351F6 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.6% C 0.235 H 280.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6351F6
RGBrgb(99, 81, 246)
HSLhsl(247, 90%, 64%)
HSVhsv(247, 67%, 96%)
CMYKcmyk(59.8%, 67.1%, 0%, 3.5%)
CIE-LABlab(45.89, 52.37, -80.15)
CIE-LCHlch(45.89, 95.74, 303.16°)
OKLaboklab(55.59% 0.0426 -0.2309)
OKLCHoklch(55.59% 0.235 280.5)
XYZxyz(24.7173, 15.1895, 88.8003)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351F6 #E4F651
analogous
#5192F6 #6351F6 #B551F6
triadic
#6351F6 #F66351 #51F663
tetradic
#6351F6 #F65192 #E4F651 #51F6B5
square
#6351F6 #F65192 #E4F651 #51F6B5
split-complementary
#6351F6 #F6B551 #92F651
monochromatic
#1E0AC3 #2F17F3 #6351F6 #978BF9 #CBC5FC

Accessibility & contrast

On white

5.20
#6351F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6351F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351F6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351F6#FFFFFF#000000##FFFFFF
##6351F61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FB
Deuteranopia (green-blind)
#0066F3
Tritanopia (blue-blind)
#007C9D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6351f6;
/* rgb */ color: rgb(99, 81, 246);
/* oklch */ color: oklch(55.6% 0.235 280.5);
Tailwind
colors: {
  custom: {
    50: '#9e83fa',
    500: '#6351f6',
    950: '#000000',
  },
}
SCSS
$custom: #6351f6;
$custom-light: #9e83fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6351f6",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 246.545,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.23484,
    "h": 280.5
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#6351F6
secondary
#E8EEB5
accent
#E600CC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6351F6

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

Preview Lab → · Contrast checker → · Palette generator →

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