#6752CD#6752CD

#6752CD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.182 H 286.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6752CD
RGBrgb(103, 82, 205)
HSLhsl(250, 55%, 56%)
HSVhsv(250, 60%, 80%)
CMYKcmyk(49.8%, 60%, 0%, 19.6%)
CIE-LABlab(43.25, 40.15, -61.16)
CIE-LCHlch(43.25, 73.16, 303.28°)
OKLaboklab(52.76% 0.0508 -0.175)
OKLCHoklch(52.76% 0.182 286.2)
XYZxyz(19.6270, 13.3250, 59.2836)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6752CD #B8CD52
analogous
#527BCD #6752CD #A552CD
triadic
#6752CD #CD6752 #52CD67
tetradic
#6752CD #CD527B #B8CD52 #52CDA5
square
#6752CD #CD527B #B8CD52 #52CDA5
split-complementary
#6752CD #CDA552 #7BCD52
monochromatic
#342580 #4833AF #6752CD #9181DB #BAB1E8

Accessibility & contrast

On white

5.73
#6752CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6752CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6752CD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6752CD#FFFFFF#000000##FFFFFF
##6752CD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#426F88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6752cd;
/* rgb */ color: rgb(103, 82, 205);
/* oklch */ color: oklch(52.8% 0.182 286.2);
Tailwind
colors: {
  custom: {
    50: '#9a83dd',
    500: '#6752cd',
    950: '#000000',
  },
}
SCSS
$custom: #6752cd;
$custom-light: #9a83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6752cd",
  "rgb": {
    "r": 103,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 250.244,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.18226,
    "h": 286.2
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#6752CD
secondary
#CED7A4
accent
#DE49C5
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6752CD

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

Preview Lab → · Contrast checker → · Palette generator →

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