#7641CB#7641CB

#7641CB is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.202 H 296.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7641CB
RGBrgb(118, 65, 203)
HSLhsl(263, 57%, 53%)
HSVhsv(263, 68%, 80%)
CMYKcmyk(41.9%, 68%, 0%, 20.4%)
CIE-LABlab(41.13, 51.84, -63.38)
CIE-LCHlch(41.13, 81.89, 309.28°)
OKLaboklab(51.52% 0.089 -0.1811)
OKLCHoklch(51.52% 0.202 296.2)
XYZxyz(20.1382, 11.9435, 57.7326)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7641CB #96CB41
analogous
#4151CB #7641CB #BB41CB
triadic
#7641CB #CB7641 #41CB76
tetradic
#7641CB #CB4151 #96CB41 #41CBBB
square
#7641CB #CB4151 #96CB41 #41CBBB
split-complementary
#7641CB #CBBB41 #51CB41
monochromatic
#3F1F72 #5A2CA2 #7641CB #9971D8 #BBA1E5

Accessibility & contrast

On white

6.20
#7641CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7641CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7641CB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7641CB#FFFFFF#000000##FFFFFF
##7641CB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#606281
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7641cb;
/* rgb */ color: rgb(118, 65, 203);
/* oklch */ color: oklch(51.5% 0.202 296.2);
Tailwind
colors: {
  custom: {
    50: '#a479dc',
    500: '#7641cb',
    950: '#000000',
  },
}
SCSS
$custom: #7641cb;
$custom-light: #a479dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7641cb",
  "rgb": {
    "r": 118,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 263.043,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51523,
    "c": 0.20177,
    "h": 296.2
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#7641CB
secondary
#BBD296
accent
#E048A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7641CB

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

Preview Lab → · Contrast checker → · Palette generator →

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