#7725AB#7725AB

#7725AB is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.200 H 308.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7725AB
RGBrgb(119, 37, 171)
HSLhsl(277, 64%, 41%)
HSVhsv(277, 78%, 67%)
CMYKcmyk(30.4%, 78.4%, 0%, 32.9%)
CIE-LABlab(34.37, 56.77, -55.53)
CIE-LCHlch(34.37, 79.41, 315.63°)
OKLaboklab(45.99% 0.1231 -0.1578)
OKLCHoklch(45.99% 0.2 308)
XYZxyz(15.6185, 8.1856, 39.2774)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7725AB #59AB25
analogous
#3425AB #7725AB #AB259C
triadic
#7725AB #AB7725 #25AB77
tetradic
#7725AB #AB3425 #59AB25 #259CAB
square
#7725AB #AB3425 #59AB25 #259CAB
split-complementary
#7725AB #9CAB25 #25AB34
monochromatic
#310F46 #541A79 #7725AB #9839D4 #B26BDF

Accessibility & contrast

On white

7.96
#7725AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7725AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7725AB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7725AB#FFFFFF#000000##FFFFFF
##7725AB1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#6E4768
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7725ab;
/* rgb */ color: rgb(119, 37, 171);
/* oklch */ color: oklch(46.0% 0.200 308.0);
Tailwind
colors: {
  custom: {
    50: '#a369c5',
    500: '#7725ab',
    950: '#000000',
  },
}
SCSS
$custom: #7725ab;
$custom-light: #a369c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7725ab",
  "rgb": {
    "r": 119,
    "g": 37,
    "b": 171
  },
  "hsl": {
    "h": 276.716,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45988,
    "c": 0.20018,
    "h": 308
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#7725AB
secondary
#8BC567
accent
#E74081
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7725AB

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

Preview Lab → · Contrast checker → · Palette generator →

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