#7651CB#7651CB

#7651CB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.181 H 293.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7651CB
RGBrgb(118, 81, 203)
HSLhsl(258, 54%, 56%)
HSVhsv(258, 60%, 80%)
CMYKcmyk(41.9%, 60.1%, 0%, 20.4%)
CIE-LABlab(44.30, 43.26, -58.24)
CIE-LCHlch(44.30, 72.55, 306.61°)
OKLaboklab(53.82% 0.0717 -0.166)
OKLCHoklch(53.82% 0.181 293.4)
XYZxyz(21.1902, 14.0476, 58.0833)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651CB #A6CB51
analogous
#5169CB #7651CB #B351CB
triadic
#7651CB #CB7651 #51CB76
tetradic
#7651CB #CB5169 #A6CB51 #51CBB3
square
#7651CB #CB5169 #A6CB51 #51CBB3
split-complementary
#7651CB #CBB351 #69CB51
monochromatic
#40257C #5833AC #7651CB #9B80D9 #C0AFE7

Accessibility & contrast

On white

5.51
#7651CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7651CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651CB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651CB#FFFFFF#000000##FFFFFF
##7651CB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0467C8
Tritanopia (blue-blind)
#5F6C86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7651cb;
/* rgb */ color: rgb(118, 81, 203);
/* oklch */ color: oklch(53.8% 0.181 293.4);
Tailwind
colors: {
  custom: {
    50: '#a383dc',
    500: '#7651cb',
    950: '#000000',
  },
}
SCSS
$custom: #7651cb;
$custom-light: #a383dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7651cb",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 258.197,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.18081,
    "h": 293.4
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#7651CB
secondary
#C6D5A3
accent
#DD4AB1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7651CB

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

Preview Lab → · Contrast checker → · Palette generator →

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