#6752BE#6752BE

#6752BE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.163 H 288.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6752BE
RGBrgb(103, 82, 190)
HSLhsl(252, 45%, 53%)
HSVhsv(252, 57%, 75%)
CMYKcmyk(45.8%, 56.8%, 0%, 25.5%)
CIE-LABlab(42.21, 35.71, -54.15)
CIE-LCHlch(42.21, 64.86, 303.41°)
OKLaboklab(51.66% 0.0511 -0.1544)
OKLCHoklch(51.66% 0.163 288.3)
XYZxyz(17.9024, 12.6352, 50.2008)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6752BE #A9BE52
analogous
#5273BE #6752BE #9D52BE
triadic
#6752BE #BE6752 #52BE67
tetradic
#6752BE #BE5273 #A9BE52 #52BE9D
square
#6752BE #BE5273 #A9BE52 #52BE9D
split-complementary
#6752BE #BE9D52 #73BE52
monochromatic
#36296D #4C3A99 #6752BE #8E7ECF #B5ABDF

Accessibility & contrast

On white

5.95
#6752BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6752BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6752BE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6752BE#FFFFFF#000000##FFFFFF
##6752BE1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C2
Deuteranopia (green-blind)
#1061BC
Tritanopia (blue-blind)
#4C6A80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6752be;
/* rgb */ color: rgb(103, 82, 190);
/* oklch */ color: oklch(51.7% 0.163 288.3);
Tailwind
colors: {
  custom: {
    50: '#9883d2',
    500: '#6752be',
    950: '#000000',
  },
}
SCSS
$custom: #6752be;
$custom-light: #9883d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6752be",
  "rgb": {
    "r": 103,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 251.667,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5166,
    "c": 0.16266,
    "h": 288.3
  },
  "luminance": 0.12636
}

Semantic roles & 50–950 ramp

primary
#6752BE
secondary
#C4CD9F
accent
#D553BC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6752BE

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

Preview Lab → · Contrast checker → · Palette generator →

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