#7641CC#7641CC

#7641CC is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.203 H 296.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7641CC
RGBrgb(118, 65, 204)
HSLhsl(263, 58%, 53%)
HSVhsv(263, 68%, 80%)
CMYKcmyk(42.2%, 68.1%, 0%, 20%)
CIE-LABlab(41.20, 52.11, -63.84)
CIE-LCHlch(41.20, 82.40, 309.22°)
OKLaboklab(51.6% 0.0888 -0.1824)
OKLCHoklch(51.6% 0.203 296)
XYZxyz(20.2577, 11.9913, 58.3623)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7641CC #97CC41
analogous
#4151CC #7641CC #BC41CC
triadic
#7641CC #CC7641 #41CC76
tetradic
#7641CC #CC4151 #97CC41 #41CCBC
square
#7641CC #CC4151 #97CC41 #41CCBC
split-complementary
#7641CC #CCBC41 #51CC41
monochromatic
#3F1F74 #5A2CA4 #7641CC #9971D9 #BCA1E6

Accessibility & contrast

On white

6.18
#7641CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7641CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7641CC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7641CC#FFFFFF#000000##FFFFFF
##7641CC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#5F6381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7641cc;
/* rgb */ color: rgb(118, 65, 204);
/* oklch */ color: oklch(51.6% 0.203 296.0);
Tailwind
colors: {
  custom: {
    50: '#a479dc',
    500: '#7641cc',
    950: '#000000',
  },
}
SCSS
$custom: #7641cc;
$custom-light: #a479dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7641cc",
  "rgb": {
    "r": 118,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 262.878,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.2029,
    "h": 296
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#7641CC
secondary
#BCD396
accent
#E147A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7641CC

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

Preview Lab → · Contrast checker → · Palette generator →

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