#7641D2#7641D2

#7641D2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.210 H 294.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7641D2
RGBrgb(118, 65, 210)
HSLhsl(262, 62%, 54%)
HSVhsv(262, 69%, 82%)
CMYKcmyk(43.8%, 69%, 0%, 17.6%)
CIE-LABlab(41.67, 53.67, -66.55)
CIE-LCHlch(41.67, 85.50, 308.89°)
OKLaboklab(52.08% 0.0879 -0.1904)
OKLCHoklch(52.08% 0.21 294.8)
XYZxyz(20.9912, 12.2847, 62.2255)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7641D2 #9DD241
analogous
#4155D2 #7641D2 #BF41D2
triadic
#7641D2 #D27641 #41D276
tetradic
#7641D2 #D24155 #9DD241 #41D2BF
square
#7641D2 #D24155 #9DD241 #41D2BF
split-complementary
#7641D2 #D2BF41 #55D241
monochromatic
#401D7B #5929AD #7641D2 #9A72DE #BDA4E9

Accessibility & contrast

On white

6.07
#7641D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7641D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7641D2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7641D2#FFFFFF#000000##FFFFFF
##7641D21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#5C6585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7641d2;
/* rgb */ color: rgb(118, 65, 210);
/* oklch */ color: oklch(52.1% 0.210 294.8);
Tailwind
colors: {
  custom: {
    50: '#a57ae1',
    500: '#7641d2',
    950: '#000000',
  },
}
SCSS
$custom: #7641d2;
$custom-light: #a57ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#7641d2",
  "rgb": {
    "r": 118,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 261.931,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.20969,
    "h": 294.8
  },
  "luminance": 0.12285
}

Semantic roles & 50–950 ramp

primary
#7641D2
secondary
#C0D698
accent
#E543AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7641D2

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

Preview Lab → · Contrast checker → · Palette generator →

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