#7730B5#7730B5

#7730B5 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.198 H 304.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7730B5
RGBrgb(119, 48, 181)
HSLhsl(272, 58%, 45%)
HSVhsv(272, 73%, 71%)
CMYKcmyk(34.3%, 73.5%, 0%, 29%)
CIE-LABlab(36.69, 54.61, -57.71)
CIE-LCHlch(36.69, 79.45, 313.42°)
OKLaboklab(47.87% 0.1111 -0.1643)
OKLCHoklch(47.87% 0.198 304.1)
XYZxyz(17.0033, 9.3721, 44.6203)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7730B5 #6EB530
analogous
#3430B5 #7730B5 #B530B1
triadic
#7730B5 #B57730 #30B577
tetradic
#7730B5 #B53430 #6EB530 #30B1B5
square
#7730B5 #B53430 #6EB530 #30B1B5
split-complementary
#7730B5 #B1B530 #30B534
monochromatic
#371654 #572385 #7730B5 #9551D1 #B382DE

Accessibility & contrast

On white

7.31
#7730B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7730B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7730B5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7730B5#FFFFFF#000000##FFFFFF
##7730B51.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#6B5170
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7730b5;
/* rgb */ color: rgb(119, 48, 181);
/* oklch */ color: oklch(47.9% 0.198 304.1);
Tailwind
colors: {
  custom: {
    50: '#a46fcc',
    500: '#7730b5',
    950: '#000000',
  },
}
SCSS
$custom: #7730b5;
$custom-light: #a46fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7730b5",
  "rgb": {
    "r": 119,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 272.03,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47868,
    "c": 0.1983,
    "h": 304.1
  },
  "luminance": 0.09372
}

Semantic roles & 50–950 ramp

primary
#7730B5
secondary
#9EC77A
accent
#E1468F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7730B5

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

Preview Lab → · Contrast checker → · Palette generator →

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