#6251F6#6251F6

#6251F6 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.5% C 0.235 H 280.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6251F6
RGBrgb(98, 81, 246)
HSLhsl(246, 90%, 64%)
HSVhsv(246, 67%, 96%)
CMYKcmyk(60.2%, 67.1%, 0%, 3.5%)
CIE-LABlab(45.82, 52.23, -80.28)
CIE-LCHlch(45.82, 95.77, 303.05°)
OKLaboklab(55.51% 0.0413 -0.2313)
OKLCHoklch(55.51% 0.235 280.1)
XYZxyz(24.6087, 15.1335, 88.7952)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6251F6 #E5F651
analogous
#5193F6 #6251F6 #B551F6
triadic
#6251F6 #F66251 #51F662
tetradic
#6251F6 #F65193 #E5F651 #51F6B5
square
#6251F6 #F65193 #E5F651 #51F6B5
split-complementary
#6251F6 #F6B551 #93F651
monochromatic
#1D0AC3 #2D17F3 #6251F6 #978BF9 #CBC5FC

Accessibility & contrast

On white

5.21
#6251F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6251F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6251F6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6251F6#FFFFFF#000000##FFFFFF
##6251F61.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6251f6;
/* rgb */ color: rgb(98, 81, 246);
/* oklch */ color: oklch(55.5% 0.235 280.1);
Tailwind
colors: {
  custom: {
    50: '#9e83fa',
    500: '#6251f6',
    950: '#000000',
  },
}
SCSS
$custom: #6251f6;
$custom-light: #9e83fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6251f6",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 246.182,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.235,
    "h": 280.1
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6251F6

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

Preview Lab → · Contrast checker → · Palette generator →

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