#6752BD#6752BD

#6752BD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.6% C 0.161 H 288.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6752BD
RGBrgb(103, 82, 189)
HSLhsl(252, 45%, 53%)
HSVhsv(252, 57%, 74%)
CMYKcmyk(45.5%, 56.6%, 0%, 25.9%)
CIE-LABlab(42.14, 35.42, -53.67)
CIE-LCHlch(42.14, 64.31, 303.42°)
OKLaboklab(51.59% 0.0511 -0.153)
OKLCHoklch(51.59% 0.161 288.5)
XYZxyz(17.7935, 12.5916, 49.6271)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6752BD #A8BD52
analogous
#5272BD #6752BD #9D52BD
triadic
#6752BD #BD6752 #52BD67
tetradic
#6752BD #BD5272 #A8BD52 #52BD9D
square
#6752BD #BD5272 #A8BD52 #52BD9D
split-complementary
#6752BD #BD9D52 #72BD52
monochromatic
#36296C #4C3A98 #6752BD #8E7ECE #B5ABDF

Accessibility & contrast

On white

5.97
#6752BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6752BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6752BD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6752BD#FFFFFF#000000##FFFFFF
##6752BD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1066C1
Deuteranopia (green-blind)
#1361BB
Tritanopia (blue-blind)
#4C6A7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6752bd;
/* rgb */ color: rgb(103, 82, 189);
/* oklch */ color: oklch(51.6% 0.161 288.5);
Tailwind
colors: {
  custom: {
    50: '#9883d2',
    500: '#6752bd',
    950: '#000000',
  },
}
SCSS
$custom: #6752bd;
$custom-light: #9883d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6752bd",
  "rgb": {
    "r": 103,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 251.776,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.16133,
    "h": 288.5
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#6752BD
secondary
#C3CC9E
accent
#D453BB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6752BD

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

Preview Lab → · Contrast checker → · Palette generator →

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