#7740AF#7740AF

#7740AF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.171 H 303.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7740AF
RGBrgb(119, 64, 175)
HSLhsl(270, 46%, 47%)
HSVhsv(270, 63%, 69%)
CMYKcmyk(32%, 63.4%, 0%, 31.4%)
CIE-LABlab(39.04, 45.43, -50.35)
CIE-LCHlch(39.04, 67.82, 312.06°)
OKLaboklab(49.41% 0.0945 -0.1427)
OKLCHoklch(49.41% 0.171 303.5)
XYZxyz(17.1772, 10.6839, 41.7064)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740AF #78AF40
analogous
#4040AF #7740AF #AF40AF
triadic
#7740AF #AF7740 #40AF77
tetradic
#7740AF #AF4040 #78AF40 #40AFAF
square
#7740AF #AF4040 #78AF40 #40AFAF
split-complementary
#7740AF #AFAF40 #40AF40
monochromatic
#3A1F55 #593082 #7740AF #9665C7 #B492D7

Accessibility & contrast

On white

6.69
#7740AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7740AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740AF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740AF#FFFFFF#000000##FFFFFF
##7740AF1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#205CAD
Tritanopia (blue-blind)
#6C5871
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7740af;
/* rgb */ color: rgb(119, 64, 175);
/* oklch */ color: oklch(49.4% 0.171 303.5);
Tailwind
colors: {
  custom: {
    50: '#a278c7',
    500: '#7740af',
    950: '#000000',
  },
}
SCSS
$custom: #7740af;
$custom-light: #a278c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7740af",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 269.73,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49414,
    "c": 0.17117,
    "h": 303.5
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#7740AF
secondary
#A6C388
accent
#D65294
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7740AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7740AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva