#7725A7#7725A7

#7725A7 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.7% C 0.196 H 309.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7725A7
RGBrgb(119, 37, 167)
HSLhsl(278, 64%, 40%)
HSVhsv(278, 78%, 65%)
CMYKcmyk(28.7%, 77.8%, 0%, 34.5%)
CIE-LABlab(34.06, 55.89, -53.64)
CIE-LCHlch(34.06, 77.46, 316.18°)
OKLaboklab(45.67% 0.124 -0.1522)
OKLCHoklch(45.67% 0.196 309.2)
XYZxyz(15.2429, 8.0354, 37.2997)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7725A7 #55A725
analogous
#3625A7 #7725A7 #A72596
triadic
#7725A7 #A77725 #25A777
tetradic
#7725A7 #A73625 #55A725 #2596A7
square
#7725A7 #A73625 #55A725 #2596A7
split-complementary
#7725A7 #96A725 #25A736
monochromatic
#300F43 #531A75 #7725A7 #9937D3 #B269DE

Accessibility & contrast

On white

8.06
#7725A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7725A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7725A7
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7725A7#FFFFFF#000000##FFFFFF
##7725A71.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#704565
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7725a7;
/* rgb */ color: rgb(119, 37, 167);
/* oklch */ color: oklch(45.7% 0.196 309.2);
Tailwind
colors: {
  custom: {
    50: '#a369c2',
    500: '#7725a7',
    950: '#000000',
  },
}
SCSS
$custom: #7725a7;
$custom-light: #a369c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7725a7",
  "rgb": {
    "r": 119,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 277.846,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.19637,
    "h": 309.2
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#7725A7
secondary
#87C464
accent
#E7417E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7725A7

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

Preview Lab → · Contrast checker → · Palette generator →

#7725A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva