#772898#772898

#772898 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.179 H 313.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#772898
RGBrgb(119, 40, 152)
HSLhsl(282, 58%, 38%)
HSVhsv(282, 74%, 60%)
CMYKcmyk(21.7%, 73.7%, 0%, 40.4%)
CIE-LABlab(33.37, 51.49, -45.67)
CIE-LCHlch(33.37, 68.83, 318.42°)
OKLaboklab(44.84% 0.1238 -0.1289)
OKLCHoklch(44.84% 0.179 313.8)
XYZxyz(14.0331, 7.7070, 30.4481)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772898 #499828
analogous
#3F2898 #772898 #982881
triadic
#772898 #987728 #289877
tetradic
#772898 #983F28 #499828 #288198
square
#772898 #983F28 #499828 #288198
split-complementary
#772898 #819828 #28983F
monochromatic
#2B0F37 #511B68 #772898 #9D35C8 #B564D6

Accessibility & contrast

On white

8.26
#772898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#772898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772898
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772898#FFFFFF#000000##FFFFFF
##7728981.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#205096
Tritanopia (blue-blind)
#74405E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772898;
/* rgb */ color: rgb(119, 40, 152);
/* oklch */ color: oklch(44.8% 0.179 313.8);
Tailwind
colors: {
  custom: {
    50: '#a26ab7',
    500: '#772898',
    950: '#000000',
  },
}
SCSS
$custom: #772898;
$custom-light: #a26ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#772898",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 282.321,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44838,
    "c": 0.17871,
    "h": 313.8
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#772898
secondary
#7BBC60
accent
#E24674
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772898

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

Preview Lab → · Contrast checker → · Palette generator →

#772898 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva