#7651CA#7651CA

#7651CA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.180 H 293.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7651CA
RGBrgb(118, 81, 202)
HSLhsl(258, 53%, 55%)
HSVhsv(258, 60%, 79%)
CMYKcmyk(41.6%, 59.9%, 0%, 20.8%)
CIE-LABlab(44.23, 42.99, -57.77)
CIE-LCHlch(44.23, 72.01, 306.65°)
OKLaboklab(53.75% 0.0717 -0.1646)
OKLCHoklch(53.75% 0.18 293.5)
XYZxyz(21.0714, 14.0001, 57.4578)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651CA #A5CA51
analogous
#5168CA #7651CA #B251CA
triadic
#7651CA #CA7651 #51CA76
tetradic
#7651CA #CA5168 #A5CA51 #51CAB2
square
#7651CA #CA5168 #A5CA51 #51CAB2
split-complementary
#7651CA #CAB251 #68CA51
monochromatic
#40257B #5834AA #7651CA #9B80D8 #C0AFE7

Accessibility & contrast

On white

5.53
#7651CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7651CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651CA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651CA#FFFFFF#000000##FFFFFF
##7651CA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0966C7
Tritanopia (blue-blind)
#5F6C86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7651ca;
/* rgb */ color: rgb(118, 81, 202);
/* oklch */ color: oklch(53.7% 0.180 293.5);
Tailwind
colors: {
  custom: {
    50: '#a383db',
    500: '#7651ca',
    950: '#000000',
  },
}
SCSS
$custom: #7651ca;
$custom-light: #a383db;
$custom-dark: #000000;
JSON
{
  "hex": "#7651ca",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 258.347,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.17956,
    "h": 293.5
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

primary
#7651CA
secondary
#C5D5A2
accent
#DD4BB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7651CA

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

Preview Lab → · Contrast checker → · Palette generator →

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