#6A52F1#6A52F1

#6A52F1 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.9% C 0.227 H 283.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6A52F1
RGBrgb(106, 82, 241)
HSLhsl(249, 85%, 63%)
HSVhsv(249, 66%, 95%)
CMYKcmyk(56%, 66%, 0%, 5.5%)
CIE-LABlab(46.24, 51.36, -76.75)
CIE-LCHlch(46.24, 92.35, 303.79°)
OKLaboklab(55.85% 0.0514 -0.2208)
OKLCHoklch(55.85% 0.227 283.1)
XYZxyz(24.8334, 15.4481, 84.8752)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A52F1 #D9F152
analogous
#5289F1 #6A52F1 #BA52F1
triadic
#6A52F1 #F16A52 #52F16A
tetradic
#6A52F1 #F15289 #D9F152 #52F1BA
square
#6A52F1 #F15289 #D9F152 #52F1BA
split-complementary
#6A52F1 #F1BA52 #89F152
monochromatic
#290FBA #3919EC #6A52F1 #9B8BF6 #CCC3FA

Accessibility & contrast

On white

5.13
#6A52F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6A52F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A52F1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A52F1#FFFFFF#000000##FFFFFF
##6A52F11.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F6
Deuteranopia (green-blind)
#0068EE
Tritanopia (blue-blind)
#247B9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a52f1;
/* rgb */ color: rgb(106, 82, 241);
/* oklch */ color: oklch(55.9% 0.227 283.1);
Tailwind
colors: {
  custom: {
    50: '#a184f7',
    500: '#6a52f1',
    950: '#000000',
  },
}
SCSS
$custom: #6a52f1;
$custom-light: #a184f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a52f1",
  "rgb": {
    "r": 106,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 249.057,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.22669,
    "h": 283.1
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#6A52F1
secondary
#E3ECB3
accent
#E204C0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A52F1

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

Preview Lab → · Contrast checker → · Palette generator →

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