#6752CA#6752CA

#6752CA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.5% C 0.178 H 286.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6752CA
RGBrgb(103, 82, 202)
HSLhsl(251, 53%, 56%)
HSVhsv(251, 59%, 79%)
CMYKcmyk(49%, 59.4%, 0%, 20.8%)
CIE-LABlab(43.04, 39.26, -59.77)
CIE-LCHlch(43.04, 71.52, 303.30°)
OKLaboklab(52.53% 0.0509 -0.171)
OKLCHoklch(52.53% 0.178 286.6)
XYZxyz(19.2684, 13.1815, 57.3947)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6752CA #B5CA52
analogous
#5279CA #6752CA #A352CA
triadic
#6752CA #CA6752 #52CA67
tetradic
#6752CA #CA5279 #B5CA52 #52CAA3
square
#6752CA #CA5279 #B5CA52 #52CAA3
split-complementary
#6752CA #CAA352 #79CA52
monochromatic
#35267C #4934AB #6752CA #9081D8 #B9B0E7

Accessibility & contrast

On white

5.77
#6752CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6752CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6752CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6752CA#FFFFFF#000000##FFFFFF
##6752CA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#446E86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6752ca;
/* rgb */ color: rgb(103, 82, 202);
/* oklch */ color: oklch(52.5% 0.178 286.6);
Tailwind
colors: {
  custom: {
    50: '#9a83db',
    500: '#6752ca',
    950: '#000000',
  },
}
SCSS
$custom: #6752ca;
$custom-light: #9a83db;
$custom-dark: #000000;
JSON
{
  "hex": "#6752ca",
  "rgb": {
    "r": 103,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 250.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.17839,
    "h": 286.6
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#6752CA
secondary
#CCD5A3
accent
#DD4BC3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6752CA

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

Preview Lab → · Contrast checker → · Palette generator →

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