#6A52EF#6A52EF

#6A52EF is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.7% C 0.224 H 283.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6A52EF
RGBrgb(106, 82, 239)
HSLhsl(249, 83%, 63%)
HSVhsv(249, 66%, 94%)
CMYKcmyk(55.6%, 65.7%, 0%, 6.3%)
CIE-LABlab(46.08, 50.77, -75.89)
CIE-LCHlch(46.08, 91.31, 303.78°)
OKLaboklab(55.68% 0.0517 -0.2182)
OKLCHoklch(55.68% 0.224 283.3)
XYZxyz(24.5364, 15.3292, 83.3105)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A52EF #D7EF52
analogous
#5288EF #6A52EF #B852EF
triadic
#6A52EF #EF6A52 #52EF6A
tetradic
#6A52EF #EF5288 #D7EF52 #52EFB8
square
#6A52EF #EF5288 #D7EF52 #52EFB8
split-complementary
#6A52EF #EFB852 #88EF52
monochromatic
#2A11B6 #3A1AEA #6A52EF #9A8AF4 #CAC2F9

Accessibility & contrast

On white

5.16
#6A52EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6A52EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A52EF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A52EF#FFFFFF#000000##FFFFFF
##6A52EF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#277A9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a52ef;
/* rgb */ color: rgb(106, 82, 239);
/* oklch */ color: oklch(55.7% 0.224 283.3);
Tailwind
colors: {
  custom: {
    50: '#a184f5',
    500: '#6a52ef',
    950: '#000000',
  },
}
SCSS
$custom: #6a52ef;
$custom-light: #a184f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a52ef",
  "rgb": {
    "r": 106,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 249.172,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.22428,
    "h": 283.3
  },
  "luminance": 0.15331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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