#7641B2#7641B2

#7641B2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.173 H 302.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7641B2
RGBrgb(118, 65, 178)
HSLhsl(268, 47%, 48%)
HSVhsv(268, 63%, 70%)
CMYKcmyk(33.7%, 63.5%, 0%, 30.2%)
CIE-LABlab(39.32, 45.43, -51.68)
CIE-LCHlch(39.32, 68.81, 311.32°)
OKLaboklab(49.65% 0.0918 -0.1467)
OKLCHoklch(49.65% 0.173 302)
XYZxyz(17.3955, 10.8465, 43.2880)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7641B2 #7DB241
analogous
#4144B2 #7641B2 #AF41B2
triadic
#7641B2 #B27641 #41B276
tetradic
#7641B2 #B24144 #7DB241 #41B2AF
square
#7641B2 #B24144 #7DB241 #41B2AF
split-complementary
#7641B2 #B2AF41 #44B241
monochromatic
#3B2058 #583185 #7641B2 #9568C8 #B595D8

Accessibility & contrast

On white

6.63
#7641B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7641B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7641B2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7641B2#FFFFFF#000000##FFFFFF
##7641B21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#1A5CB0
Tritanopia (blue-blind)
#6A5973
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7641b2;
/* rgb */ color: rgb(118, 65, 178);
/* oklch */ color: oklch(49.7% 0.173 302.0);
Tailwind
colors: {
  custom: {
    50: '#a279ca',
    500: '#7641b2',
    950: '#000000',
  },
}
SCSS
$custom: #7641b2;
$custom-light: #a279ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7641b2",
  "rgb": {
    "r": 118,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 268.142,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49654,
    "c": 0.17302,
    "h": 302
  },
  "luminance": 0.10846
}

Semantic roles & 50–950 ramp

primary
#7641B2
secondary
#A9C48B
accent
#D65298
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7641B2

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

Preview Lab → · Contrast checker → · Palette generator →

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