#6A52E3#6A52E3

#6A52E3 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.7% C 0.210 H 284.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6A52E3
RGBrgb(106, 82, 227)
HSLhsl(250, 72%, 61%)
HSVhsv(250, 64%, 89%)
CMYKcmyk(53.3%, 63.9%, 0%, 11%)
CIE-LABlab(45.14, 47.23, -70.65)
CIE-LCHlch(45.14, 84.98, 303.76°)
OKLaboklab(54.71% 0.053 -0.2028)
OKLCHoklch(54.71% 0.21 284.7)
XYZxyz(22.8221, 14.6435, 74.2821)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A52E3 #CBE352
analogous
#5282E3 #6A52E3 #B252E3
triadic
#6A52E3 #E36A52 #52E36A
tetradic
#6A52E3 #E35282 #CBE352 #52E3B2
square
#6A52E3 #E35282 #CBE352 #52E3B2
split-complementary
#6A52E3 #E3B252 #82E352
monochromatic
#301AA1 #4023D5 #6A52E3 #9787EC #C5BBF4

Accessibility & contrast

On white

5.34
#6A52E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6A52E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A52E3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A52E3#FFFFFF#000000##FFFFFF
##6A52E31.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0066E0
Tritanopia (blue-blind)
#367693
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a52e3;
/* rgb */ color: rgb(106, 82, 227);
/* oklch */ color: oklch(54.7% 0.210 284.7);
Tailwind
colors: {
  custom: {
    50: '#9f84ed',
    500: '#6a52e3',
    950: '#000000',
  },
}
SCSS
$custom: #6a52e3;
$custom-light: #9f84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6a52e3",
  "rgb": {
    "r": 106,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 249.931,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.20967,
    "h": 284.7
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#6A52E3
secondary
#DBE4AD
accent
#D411B4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6A52E3

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

Preview Lab → · Contrast checker → · Palette generator →

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