#6752CC#6752CC

#6752CC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.7% C 0.181 H 286.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6752CC
RGBrgb(103, 82, 204)
HSLhsl(250, 54%, 56%)
HSVhsv(250, 60%, 80%)
CMYKcmyk(49.5%, 59.8%, 0%, 20%)
CIE-LABlab(43.18, 39.85, -60.70)
CIE-LCHlch(43.18, 72.61, 303.29°)
OKLaboklab(52.68% 0.0508 -0.1737)
OKLCHoklch(52.68% 0.181 286.3)
XYZxyz(19.5067, 13.2769, 58.6499)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6752CC #B7CC52
analogous
#527ACC #6752CC #A452CC
triadic
#6752CC #CC6752 #52CC67
tetradic
#6752CC #CC527A #B7CC52 #52CCA4
square
#6752CC #CC527A #B7CC52 #52CCA4
split-complementary
#6752CC #CCA452 #7ACC52
monochromatic
#35257E #4833AE #6752CC #9181DA #BAB1E8

Accessibility & contrast

On white

5.74
#6752CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6752CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6752CC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6752CC#FFFFFF#000000##FFFFFF
##6752CC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#436E87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6752cc;
/* rgb */ color: rgb(103, 82, 204);
/* oklch */ color: oklch(52.7% 0.181 286.3);
Tailwind
colors: {
  custom: {
    50: '#9a83dc',
    500: '#6752cc',
    950: '#000000',
  },
}
SCSS
$custom: #6752cc;
$custom-light: #9a83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6752cc",
  "rgb": {
    "r": 103,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 250.328,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52681,
    "c": 0.18098,
    "h": 286.3
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#6752CC
secondary
#CDD6A4
accent
#DE4AC4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6752CC

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

Preview Lab → · Contrast checker → · Palette generator →

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