#7730AB#7730AB

#7730AB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.188 H 306.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7730AB
RGBrgb(119, 48, 171)
HSLhsl(275, 56%, 43%)
HSVhsv(275, 72%, 67%)
CMYKcmyk(30.4%, 71.9%, 0%, 32.9%)
CIE-LABlab(35.94, 52.28, -52.98)
CIE-LCHlch(35.94, 74.44, 314.62°)
OKLaboklab(47.1% 0.1128 -0.1504)
OKLCHoklch(47.1% 0.188 306.9)
XYZxyz(16.0138, 8.9763, 39.4092)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7730AB #64AB30
analogous
#3930AB #7730AB #AB30A1
triadic
#7730AB #AB7730 #30AB77
tetradic
#7730AB #AB3930 #64AB30 #30A1AB
square
#7730AB #AB3930 #64AB30 #30A1AB
split-complementary
#7730AB #A1AB30 #30AB39
monochromatic
#34154B #56237B #7730AB #964CCD #B27BDA

Accessibility & contrast

On white

7.51
#7730AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7730AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7730AB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7730AB#FFFFFF#000000##FFFFFF
##7730AB1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0155A8
Tritanopia (blue-blind)
#6E4C6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7730ab;
/* rgb */ color: rgb(119, 48, 171);
/* oklch */ color: oklch(47.1% 0.188 306.9);
Tailwind
colors: {
  custom: {
    50: '#a36fc5',
    500: '#7730ab',
    950: '#000000',
  },
}
SCSS
$custom: #7730ab;
$custom-light: #a36fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7730ab",
  "rgb": {
    "r": 119,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 274.634,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47098,
    "c": 0.18802,
    "h": 306.9
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#7730AB
secondary
#95C374
accent
#DF4888
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7730AB

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

Preview Lab → · Contrast checker → · Palette generator →

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