#6B52EC#6B52EC

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

Color values

HEX#6B52EC
RGBrgb(107, 82, 236)
HSLhsl(250, 80%, 62%)
HSVhsv(250, 65%, 93%)
CMYKcmyk(54.7%, 65.3%, 0%, 7.5%)
CIE-LABlab(45.93, 50.05, -74.45)
CIE-LCHlch(45.93, 89.71, 303.91°)
OKLaboklab(55.52% 0.0534 -0.214)
OKLCHoklch(55.52% 0.221 284)
XYZxyz(24.2164, 15.2151, 81.0014)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B52EC #D3EC52
analogous
#5286EC #6B52EC #B852EC
triadic
#6B52EC #EC6B52 #52EC6B
tetradic
#6B52EC #EC5286 #D3EC52 #52ECB8
square
#6B52EC #EC5286 #D3EC52 #52ECB8
split-complementary
#6B52EC #ECB852 #86EC52
monochromatic
#2D13B0 #3C1BE6 #6B52EC #9A89F2 #C9C0F8

Accessibility & contrast

On white

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

On black

4.04
#6B52EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6B52EC#FFFFFF#000000##FFFFFF
##6B52EC1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#2F7998
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b52ec;
/* rgb */ color: rgb(107, 82, 236);
/* oklch */ color: oklch(55.5% 0.221 284.0);
Tailwind
colors: {
  custom: {
    50: '#a184f3',
    500: '#6b52ec',
    950: '#000000',
  },
}
SCSS
$custom: #6b52ec;
$custom-light: #a184f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b52ec",
  "rgb": {
    "r": 107,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 249.74,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5552,
    "c": 0.22054,
    "h": 284
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#6B52EC
secondary
#E0E9B1
accent
#DD09BA
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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