#7640CA#7640CA

#7640CA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.3% C 0.202 H 296.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7640CA
RGBrgb(118, 64, 202)
HSLhsl(263, 57%, 52%)
HSVhsv(263, 68%, 79%)
CMYKcmyk(41.6%, 68.3%, 0%, 20.8%)
CIE-LABlab(40.87, 52.09, -63.22)
CIE-LCHlch(40.87, 81.92, 309.48°)
OKLaboklab(51.31% 0.0901 -0.1806)
OKLCHoklch(51.31% 0.202 296.5)
XYZxyz(19.9625, 11.7822, 57.0881)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7640CA #94CA40
analogous
#404FCA #7640CA #BB40CA
triadic
#7640CA #CA7640 #40CA76
tetradic
#7640CA #CA404F #94CA40 #40CABB
square
#7640CA #CA404F #94CA40 #40CABB
split-complementary
#7640CA #CABB40 #4FCA40
monochromatic
#3F1F70 #5A2CA0 #7640CA #9870D7 #BBA0E5

Accessibility & contrast

On white

6.26
#7640CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7640CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7640CA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7640CA#FFFFFF#000000##FFFFFF
##7640CA1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#606180
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7640ca;
/* rgb */ color: rgb(118, 64, 202);
/* oklch */ color: oklch(51.3% 0.202 296.5);
Tailwind
colors: {
  custom: {
    50: '#a479db',
    500: '#7640ca',
    950: '#000000',
  },
}
SCSS
$custom: #7640ca;
$custom-light: #a479db;
$custom-dark: #000000;
JSON
{
  "hex": "#7640ca",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 263.478,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51314,
    "c": 0.20186,
    "h": 296.5
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#7640CA
secondary
#B9D195
accent
#E048A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7640CA

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

Preview Lab → · Contrast checker → · Palette generator →

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