#7651CC#7651CC

#7651CC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.182 H 293.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7651CC
RGBrgb(118, 81, 204)
HSLhsl(258, 55%, 56%)
HSVhsv(258, 60%, 80%)
CMYKcmyk(42.2%, 60.3%, 0%, 20%)
CIE-LABlab(44.37, 43.54, -58.70)
CIE-LCHlch(44.37, 73.08, 306.56°)
OKLaboklab(53.89% 0.0716 -0.1674)
OKLCHoklch(53.89% 0.182 293.2)
XYZxyz(21.3098, 14.0955, 58.7130)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651CC #A7CC51
analogous
#5169CC #7651CC #B451CC
triadic
#7651CC #CC7651 #51CC76
tetradic
#7651CC #CC5169 #A7CC51 #51CCB4
square
#7651CC #CC5169 #A7CC51 #51CCB4
split-complementary
#7651CC #CCB451 #69CC51
monochromatic
#40257E #5833AD #7651CC #9B80DA #C1B0E8

Accessibility & contrast

On white

5.50
#7651CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7651CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651CC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651CC#FFFFFF#000000##FFFFFF
##7651CC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0067C9
Tritanopia (blue-blind)
#5F6D87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7651cc;
/* rgb */ color: rgb(118, 81, 204);
/* oklch */ color: oklch(53.9% 0.182 293.2);
Tailwind
colors: {
  custom: {
    50: '#a383dc',
    500: '#7651cc',
    950: '#000000',
  },
}
SCSS
$custom: #7651cc;
$custom-light: #a383dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7651cc",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 258.049,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53891,
    "c": 0.18204,
    "h": 293.2
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#7651CC
secondary
#C7D6A3
accent
#DE4AB1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7651CC

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

Preview Lab → · Contrast checker → · Palette generator →

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