#7740B2#7740B2

#7740B2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.175 H 302.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7740B2
RGBrgb(119, 64, 178)
HSLhsl(269, 47%, 47%)
HSVhsv(269, 64%, 70%)
CMYKcmyk(33.1%, 64%, 0%, 30.2%)
CIE-LABlab(39.25, 46.18, -51.79)
CIE-LCHlch(39.25, 69.39, 311.72°)
OKLaboklab(49.63% 0.0943 -0.147)
OKLCHoklch(49.63% 0.175 302.7)
XYZxyz(17.4752, 10.8031, 43.2754)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7740B2 #7BB240
analogous
#4042B2 #7740B2 #B040B2
triadic
#7740B2 #B27740 #40B277
tetradic
#7740B2 #B24042 #7BB240 #40B2B0
square
#7740B2 #B24042 #7BB240 #40B2B0
split-complementary
#7740B2 #B2B040 #42B240
monochromatic
#3B2058 #593085 #7740B2 #9667C8 #B594D8

Accessibility & contrast

On white

6.64
#7740B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7740B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7740B2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7740B2#FFFFFF#000000##FFFFFF
##7740B21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#1A5CAF
Tritanopia (blue-blind)
#6B5973
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7740b2;
/* rgb */ color: rgb(119, 64, 178);
/* oklch */ color: oklch(49.6% 0.175 302.7);
Tailwind
colors: {
  custom: {
    50: '#a278ca',
    500: '#7740b2',
    950: '#000000',
  },
}
SCSS
$custom: #7740b2;
$custom-light: #a278ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7740b2",
  "rgb": {
    "r": 119,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 268.947,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49627,
    "c": 0.17463,
    "h": 302.7
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#7740B2
secondary
#A8C48A
accent
#D75196
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7740B2

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

Preview Lab → · Contrast checker → · Palette generator →

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