#7728AF#7728AF

#7728AF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.201 H 306.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7728AF
RGBrgb(119, 40, 175)
HSLhsl(275, 63%, 42%)
HSVhsv(275, 77%, 69%)
CMYKcmyk(32%, 77.1%, 0%, 31.4%)
CIE-LABlab(35.07, 56.53, -56.77)
CIE-LCHlch(35.07, 80.12, 314.87°)
OKLaboklab(46.58% 0.1196 -0.1615)
OKLCHoklch(46.58% 0.201 306.5)
XYZxyz(16.1027, 8.5348, 41.3482)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7728AF #60AF28
analogous
#3328AF #7728AF #AF28A4
triadic
#7728AF #AF7728 #28AF77
tetradic
#7728AF #AF3328 #60AF28 #28A4AF
square
#7728AF #AF3328 #60AF28 #28A4AF
split-complementary
#7728AF #A4AF28 #28AF33
monochromatic
#33114B #551D7D #7728AF #9741D4 #B273DF

Accessibility & contrast

On white

7.76
#7728AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7728AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7728AF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7728AF#FFFFFF#000000##FFFFFF
##7728AF1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#6D4A6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7728af;
/* rgb */ color: rgb(119, 40, 175);
/* oklch */ color: oklch(46.6% 0.201 306.5);
Tailwind
colors: {
  custom: {
    50: '#a46bc8',
    500: '#7728af',
    950: '#000000',
  },
}
SCSS
$custom: #7728af;
$custom-light: #a46bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7728af",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 275.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46582,
    "c": 0.20099,
    "h": 306.5
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#7728AF
secondary
#92C66D
accent
#E64286
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7728AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7728AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva