#7651CD#7651CD

#7651CD is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.183 H 293.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7651CD
RGBrgb(118, 81, 205)
HSLhsl(258, 55%, 56%)
HSVhsv(258, 60%, 80%)
CMYKcmyk(42.4%, 60.5%, 0%, 19.6%)
CIE-LABlab(44.44, 43.81, -59.17)
CIE-LCHlch(44.44, 73.62, 306.52°)
OKLaboklab(53.96% 0.0716 -0.1687)
OKLCHoklch(53.96% 0.183 293)
XYZxyz(21.4301, 14.1436, 59.3466)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651CD #A8CD51
analogous
#516ACD #7651CD #B451CD
triadic
#7651CD #CD7651 #51CD76
tetradic
#7651CD #CD516A #A8CD51 #51CDB4
square
#7651CD #CD516A #A8CD51 #51CDB4
split-complementary
#7651CD #CDB451 #6ACD51
monochromatic
#40257F #5732AF #7651CD #9B81DB #C1B0E8

Accessibility & contrast

On white

5.48
#7651CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7651CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651CD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651CD#FFFFFF#000000##FFFFFF
##7651CD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#5E6D87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7651cd;
/* rgb */ color: rgb(118, 81, 205);
/* oklch */ color: oklch(54.0% 0.183 293.0);
Tailwind
colors: {
  custom: {
    50: '#a383dd',
    500: '#7651cd',
    950: '#000000',
  },
}
SCSS
$custom: #7651cd;
$custom-light: #a383dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7651cd",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 257.903,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.18328,
    "h": 293
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

primary
#7651CD
secondary
#C7D7A3
accent
#DF49B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7651CD

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

Preview Lab → · Contrast checker → · Palette generator →

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