#6752BF#6752BF

#6752BF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.7% C 0.164 H 288.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6752BF
RGBrgb(103, 82, 191)
HSLhsl(252, 46%, 54%)
HSVhsv(252, 57%, 75%)
CMYKcmyk(46.1%, 57.1%, 0%, 25.1%)
CIE-LABlab(42.28, 36.01, -54.62)
CIE-LCHlch(42.28, 65.42, 303.39°)
OKLaboklab(51.73% 0.0511 -0.1558)
OKLCHoklch(51.73% 0.164 288.1)
XYZxyz(18.0121, 12.6790, 50.7784)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6752BF #AABF52
analogous
#5273BF #6752BF #9E52BF
triadic
#6752BF #BF6752 #52BF67
tetradic
#6752BF #BF5273 #AABF52 #52BF9E
square
#6752BF #BF5273 #AABF52 #52BF9E
split-complementary
#6752BF #BF9E52 #73BF52
monochromatic
#36296E #4C399B #6752BF #8E7FD0 #B6ABE0

Accessibility & contrast

On white

5.94
#6752BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6752BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6752BF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6752BF#FFFFFF#000000##FFFFFF
##6752BF1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0966C3
Deuteranopia (green-blind)
#0C61BD
Tritanopia (blue-blind)
#4B6A80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6752bf;
/* rgb */ color: rgb(103, 82, 191);
/* oklch */ color: oklch(51.7% 0.164 288.1);
Tailwind
colors: {
  custom: {
    50: '#9883d3',
    500: '#6752bf',
    950: '#000000',
  },
}
SCSS
$custom: #6752bf;
$custom-light: #9883d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6752bf",
  "rgb": {
    "r": 103,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 251.56,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51731,
    "c": 0.16398,
    "h": 288.1
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#6752BF
secondary
#C5CE9F
accent
#D652BC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6752BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6752BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva