#6051F6#6051F6

#6051F6 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.4% C 0.235 H 279.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6051F6
RGBrgb(96, 81, 246)
HSLhsl(245, 90%, 64%)
HSVhsv(245, 67%, 96%)
CMYKcmyk(61%, 67.1%, 0%, 3.5%)
CIE-LABlab(45.67, 51.95, -80.53)
CIE-LCHlch(45.67, 95.83, 302.83°)
OKLaboklab(55.37% 0.0388 -0.2321)
OKLCHoklch(55.37% 0.235 279.5)
XYZxyz(24.3956, 15.0236, 88.7852)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051F6 #E7F651
analogous
#5194F6 #6051F6 #B351F6
triadic
#6051F6 #F66051 #51F660
tetradic
#6051F6 #F65194 #E7F651 #51F6B3
square
#6051F6 #F65194 #E7F651 #51F6B3
split-complementary
#6051F6 #F6B351 #94F651
monochromatic
#1B0AC3 #2B17F3 #6051F6 #958BF9 #CAC5FC

Accessibility & contrast

On white

5.24
#6051F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6051F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051F6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051F6#FFFFFF#000000##FFFFFF
##6051F61.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6051f6;
/* rgb */ color: rgb(96, 81, 246);
/* oklch */ color: oklch(55.4% 0.235 279.5);
Tailwind
colors: {
  custom: {
    50: '#9d83fa',
    500: '#6051f6',
    950: '#000000',
  },
}
SCSS
$custom: #6051f6;
$custom-light: #9d83fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6051f6",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 245.455,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55366,
    "c": 0.23536,
    "h": 279.5
  },
  "luminance": 0.15025
}

Semantic roles & 50–950 ramp

primary
#6051F6
secondary
#E9EEB5
accent
#E600D1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6051F6

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

Preview Lab → · Contrast checker → · Palette generator →

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