#7643BA#7643BA

#7643BA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.180 H 299.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7643BA
RGBrgb(118, 67, 186)
HSLhsl(266, 47%, 50%)
HSVhsv(266, 64%, 73%)
CMYKcmyk(36.6%, 64%, 0%, 27.1%)
CIE-LABlab(40.26, 46.41, -54.87)
CIE-LCHlch(40.26, 71.86, 310.22°)
OKLaboklab(50.51% 0.0888 -0.1561)
OKLCHoklch(50.51% 0.18 299.6)
XYZxyz(18.3391, 11.4109, 47.6812)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7643BA #87BA43
analogous
#434CBA #7643BA #B243BA
triadic
#7643BA #BA7643 #43BA76
tetradic
#7643BA #BA434C #87BA43 #43BAB2
square
#7643BA #BA434C #87BA43 #43BAB2
split-complementary
#7643BA #BAB243 #4CBA43
monochromatic
#3D2360 #59338D #7643BA #976FCB #B79CDB

Accessibility & contrast

On white

6.40
#7643BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7643BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7643BA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7643BA#FFFFFF#000000##FFFFFF
##7643BA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0A5EB7
Tritanopia (blue-blind)
#675D78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7643ba;
/* rgb */ color: rgb(118, 67, 186);
/* oklch */ color: oklch(50.5% 0.180 299.6);
Tailwind
colors: {
  custom: {
    50: '#a27acf',
    500: '#7643ba',
    950: '#000000',
  },
}
SCSS
$custom: #7643ba;
$custom-light: #a27acf;
$custom-dark: #000000;
JSON
{
  "hex": "#7643ba",
  "rgb": {
    "r": 118,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 265.714,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50512,
    "c": 0.17957,
    "h": 299.6
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#7643BA
secondary
#B0C891
accent
#D7519D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7643BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7643BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva