#6752CB#6752CB

#6752CB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.180 H 286.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6752CB
RGBrgb(103, 82, 203)
HSLhsl(250, 54%, 56%)
HSVhsv(250, 60%, 80%)
CMYKcmyk(49.3%, 59.6%, 0%, 20.4%)
CIE-LABlab(43.11, 39.56, -60.24)
CIE-LCHlch(43.11, 72.06, 303.29°)
OKLaboklab(52.61% 0.0508 -0.1723)
OKLCHoklch(52.61% 0.18 286.4)
XYZxyz(19.3871, 13.2290, 58.0203)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6752CB #B6CB52
analogous
#5279CB #6752CB #A352CB
triadic
#6752CB #CB6752 #52CB67
tetradic
#6752CB #CB5279 #B6CB52 #52CBA3
square
#6752CB #CB5279 #B6CB52 #52CBA3
split-complementary
#6752CB #CBA352 #79CB52
monochromatic
#35267D #4934AC #6752CB #9081D9 #BAB0E7

Accessibility & contrast

On white

5.76
#6752CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6752CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6752CB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6752CB#FFFFFF#000000##FFFFFF
##6752CB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#446E87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6752cb;
/* rgb */ color: rgb(103, 82, 203);
/* oklch */ color: oklch(52.6% 0.180 286.4);
Tailwind
colors: {
  custom: {
    50: '#9a83dc',
    500: '#6752cb',
    950: '#000000',
  },
}
SCSS
$custom: #6752cb;
$custom-light: #9a83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6752cb",
  "rgb": {
    "r": 103,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 250.413,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.17968,
    "h": 286.4
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

primary
#6752CB
secondary
#CDD5A3
accent
#DD4BC4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6752CB

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

Preview Lab → · Contrast checker → · Palette generator →

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