#7640CF#7640CF

#7640CF is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.207 H 295.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7640CF
RGBrgb(118, 64, 207)
HSLhsl(263, 60%, 53%)
HSVhsv(263, 69%, 81%)
CMYKcmyk(43%, 69.1%, 0%, 18.8%)
CIE-LABlab(41.25, 53.39, -65.49)
CIE-LCHlch(41.25, 84.49, 309.19°)
OKLaboklab(51.71% 0.0893 -0.1873)
OKLCHoklch(51.71% 0.208 295.5)
XYZxyz(20.5641, 12.0229, 60.2566)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640CF #99CF40
analogous
#4051CF #7640CF #BD40CF
triadic
#7640CF #CF7640 #40CF76
tetradic
#7640CF #CF4051 #99CF40 #40CFBD
square
#7640CF #CF4051 #99CF40 #40CFBD
split-complementary
#7640CF #CFBD40 #51CF40
monochromatic
#3F1E77 #5A2AA8 #7640CF #9971DB #BCA2E8

Accessibility & contrast

On white

6.17
#7640CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7640CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640CF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640CF#FFFFFF#000000##FFFFFF
##7640CF1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#5E6383
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7640cf;
/* rgb */ color: rgb(118, 64, 207);
/* oklch */ color: oklch(51.7% 0.207 295.5);
Tailwind
colors: {
  custom: {
    50: '#a579df',
    500: '#7640cf',
    950: '#000000',
  },
}
SCSS
$custom: #7640cf;
$custom-light: #a579df;
$custom-dark: #000000;
JSON
{
  "hex": "#7640cf",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 262.657,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.2075,
    "h": 295.5
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#7640CF
secondary
#BDD497
accent
#E345A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7640CF

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

Preview Lab → · Contrast checker → · Palette generator →

#7640CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva