#6A51F0#6A51F0

#6A51F0 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.6% C 0.227 H 283.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6A51F0
RGBrgb(106, 81, 240)
HSLhsl(249, 84%, 63%)
HSVhsv(249, 66%, 94%)
CMYKcmyk(55.8%, 66.3%, 0%, 5.9%)
CIE-LABlab(45.96, 51.62, -76.65)
CIE-LCHlch(45.96, 92.41, 303.96°)
OKLaboklab(55.62% 0.0524 -0.2205)
OKLCHoklch(55.62% 0.227 283.4)
XYZxyz(24.6096, 15.2388, 84.0658)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A51F0 #D7F051
analogous
#5187F0 #6A51F0 #B951F0
triadic
#6A51F0 #F06A51 #51F06A
tetradic
#6A51F0 #F05187 #D7F051 #51F0B9
square
#6A51F0 #F05187 #D7F051 #51F0B9
split-complementary
#6A51F0 #F0B951 #87F051
monochromatic
#2A10B7 #3A19EB #6A51F0 #9A89F5 #CAC2FA

Accessibility & contrast

On white

5.19
#6A51F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6A51F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A51F0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A51F0#FFFFFF#000000##FFFFFF
##6A51F01.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F5
Deuteranopia (green-blind)
#0067ED
Tritanopia (blue-blind)
#257A9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a51f0;
/* rgb */ color: rgb(106, 81, 240);
/* oklch */ color: oklch(55.6% 0.227 283.4);
Tailwind
colors: {
  custom: {
    50: '#a184f6',
    500: '#6a51f0',
    950: '#000000',
  },
}
SCSS
$custom: #6a51f0;
$custom-light: #a184f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a51f0",
  "rgb": {
    "r": 106,
    "g": 81,
    "b": 240
  },
  "hsl": {
    "h": 249.434,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.22662,
    "h": 283.4
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

primary
#6A51F0
secondary
#E2EBB2
accent
#E105BE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A51F0

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

Preview Lab → · Contrast checker → · Palette generator →

#6A51F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva