#6A51FC#6A51FC

#6A51FC is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.6% C 0.241 H 282.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6A51FC
RGBrgb(106, 81, 252)
HSLhsl(249, 97%, 65%)
HSVhsv(249, 68%, 99%)
CMYKcmyk(57.9%, 67.9%, 0%, 1.2%)
CIE-LABlab(46.94, 55.14, -81.76)
CIE-LCHlch(46.94, 98.61, 304.00°)
OKLaboklab(56.63% 0.0507 -0.2355)
OKLCHoklch(56.63% 0.241 282.1)
XYZxyz(26.4515, 15.9755, 93.7663)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A51FC #E3FC51
analogous
#518DFC #6A51FC #BF51FC
triadic
#6A51FC #FC6A51 #51FC6A
tetradic
#6A51FC #FC518D #E3FC51 #51FCBF
square
#6A51FC #FC518D #E3FC51 #51FCBF
split-complementary
#6A51FC #FCBF51 #8DFC51
monochromatic
#2104CF #3615FB #6A51FC #9E8DFD #D1C9FE

Accessibility & contrast

On white

5.01
#6A51FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#6A51FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A51FC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A51FC#FFFFFF#000000##FFFFFF
##6A51FC1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0069F9
Tritanopia (blue-blind)
#027EA0
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a51fc;
/* rgb */ color: rgb(106, 81, 252);
/* oklch */ color: oklch(56.6% 0.241 282.1);
Tailwind
colors: {
  custom: {
    50: '#a384ff',
    500: '#6a51fc',
    950: '#000000',
  },
}
SCSS
$custom: #6a51fc;
$custom-light: #a384ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6a51fc",
  "rgb": {
    "r": 106,
    "g": 81,
    "b": 252
  },
  "hsl": {
    "h": 248.772,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56631,
    "c": 0.24085,
    "h": 282.1
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#6A51FC
secondary
#E9F1B8
accent
#E600C4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6A51FC

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

Preview Lab → · Contrast checker → · Palette generator →

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