#7730A4#7730A4

#7730A4 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.181 H 309.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7730A4
RGBrgb(119, 48, 164)
HSLhsl(277, 55%, 42%)
HSVhsv(277, 71%, 64%)
CMYKcmyk(27.4%, 70.7%, 0%, 35.7%)
CIE-LABlab(35.43, 50.68, -49.60)
CIE-LCHlch(35.43, 70.91, 315.61°)
OKLaboklab(46.58% 0.1138 -0.1405)
OKLCHoklch(46.58% 0.181 309)
XYZxyz(15.3642, 8.7165, 35.9878)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7730A4 #5DA430
analogous
#3D30A4 #7730A4 #A43097
triadic
#7730A4 #A47730 #30A477
tetradic
#7730A4 #A43D30 #5DA430 #3097A4
square
#7730A4 #A43D30 #5DA430 #3097A4
split-complementary
#7730A4 #97A430 #30A43D
monochromatic
#321445 #552275 #7730A4 #9748C9 #B277D7

Accessibility & contrast

On white

7.66
#7730A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7730A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7730A4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7730A4#FFFFFF#000000##FFFFFF
##7730A41.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#1754A1
Tritanopia (blue-blind)
#704A66
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7730a4;
/* rgb */ color: rgb(119, 48, 164);
/* oklch */ color: oklch(46.6% 0.181 309.0);
Tailwind
colors: {
  custom: {
    50: '#a26ec0',
    500: '#7730a4',
    950: '#000000',
  },
}
SCSS
$custom: #7730a4;
$custom-light: #a26ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#7730a4",
  "rgb": {
    "r": 119,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 276.724,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46578,
    "c": 0.18081,
    "h": 309
  },
  "luminance": 0.08716
}

Semantic roles & 50–950 ramp

primary
#7730A4
secondary
#8FBF70
accent
#DE4A83
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7730A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7730A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva