#6752CF#6752CF

#6752CF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.185 H 285.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6752CF
RGBrgb(103, 82, 207)
HSLhsl(250, 57%, 57%)
HSVhsv(250, 60%, 81%)
CMYKcmyk(50.2%, 60.4%, 0%, 18.8%)
CIE-LABlab(43.39, 40.75, -62.08)
CIE-LCHlch(43.39, 74.26, 303.28°)
OKLaboklab(52.91% 0.0507 -0.1777)
OKLCHoklch(52.91% 0.185 285.9)
XYZxyz(19.8700, 13.4222, 60.5631)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6752CF #BACF52
analogous
#527CCF #6752CF #A652CF
triadic
#6752CF #CF6752 #52CF67
tetradic
#6752CF #CF527C #BACF52 #52CFA6
square
#6752CF #CF527C #BACF52 #52CFA6
split-complementary
#6752CF #CFA652 #7CCF52
monochromatic
#342482 #4731B2 #6752CF #9182DC #BBB2EA

Accessibility & contrast

On white

5.70
#6752CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6752CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6752CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6752CF#FFFFFF#000000##FFFFFF
##6752CF1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#416F89
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6752cf;
/* rgb */ color: rgb(103, 82, 207);
/* oklch */ color: oklch(52.9% 0.185 285.9);
Tailwind
colors: {
  custom: {
    50: '#9a83de',
    500: '#6752cf',
    950: '#000000',
  },
}
SCSS
$custom: #6752cf;
$custom-light: #9a83de;
$custom-dark: #000000;
JSON
{
  "hex": "#6752cf",
  "rgb": {
    "r": 103,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 250.08,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.18483,
    "h": 285.9
  },
  "luminance": 0.13423
}

Semantic roles & 50–950 ramp

primary
#6752CF
secondary
#CFD8A5
accent
#E048C6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6752CF

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

Preview Lab → · Contrast checker → · Palette generator →

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