#6752CE#6752CE

#6752CE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.8% C 0.184 H 286.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#6752CE
RGBrgb(103, 82, 206)
HSLhsl(250, 56%, 56%)
HSVhsv(250, 60%, 81%)
CMYKcmyk(50%, 60.2%, 0%, 19.2%)
CIE-LABlab(43.32, 40.45, -61.62)
CIE-LCHlch(43.32, 73.71, 303.28°)
OKLaboklab(52.83% 0.0507 -0.1764)
OKLCHoklch(52.83% 0.184 286)
XYZxyz(19.7481, 13.3734, 59.9213)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6752CE #B9CE52
analogous
#527BCE #6752CE #A552CE
triadic
#6752CE #CE6752 #52CE67
tetradic
#6752CE #CE527B #B9CE52 #52CEA5
square
#6752CE #CE527B #B9CE52 #52CEA5
split-complementary
#6752CE #CEA552 #7BCE52
monochromatic
#342581 #4832B1 #6752CE #9182DC #BBB1E9

Accessibility & contrast

On white

5.71
#6752CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6752CE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6752CE#FFFFFF#000000##FFFFFF
##6752CE1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#416F88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6752ce;
/* rgb */ color: rgb(103, 82, 206);
/* oklch */ color: oklch(52.8% 0.184 286.0);
Tailwind
colors: {
  custom: {
    50: '#9a83de',
    500: '#6752ce',
    950: '#000000',
  },
}
SCSS
$custom: #6752ce;
$custom-light: #9a83de;
$custom-dark: #000000;
JSON
{
  "hex": "#6752ce",
  "rgb": {
    "r": 103,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 250.161,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52831,
    "c": 0.18354,
    "h": 286
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#6752CE
secondary
#CFD7A4
accent
#DF49C6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6752CE

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

Preview Lab → · Contrast checker → · Palette generator →

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