#772DB0#772DB0

#772DB0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.2% C 0.197 H 305.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#772DB0
RGBrgb(119, 45, 176)
HSLhsl(274, 59%, 43%)
HSVhsv(274, 74%, 69%)
CMYKcmyk(32.4%, 74.4%, 0%, 31%)
CIE-LABlab(35.86, 54.73, -56.10)
CIE-LCHlch(35.86, 78.38, 314.30°)
OKLaboklab(47.16% 0.1149 -0.1595)
OKLCHoklch(47.16% 0.197 305.8)
XYZxyz(16.3809, 8.9334, 41.9272)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DB0 #66B02D
analogous
#352DB0 #772DB0 #B02DA7
triadic
#772DB0 #B0772D #2DB077
tetradic
#772DB0 #B0352D #66B02D #2DA7B0
square
#772DB0 #B0352D #66B02D #2DA7B0
split-complementary
#772DB0 #A7B02D #2DB035
monochromatic
#35144F #56217F #772DB0 #964AD1 #B27ADD

Accessibility & contrast

On white

7.54
#772DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#772DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DB0
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DB0#FFFFFF#000000##FFFFFF
##772DB01.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#6D4D6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772db0;
/* rgb */ color: rgb(119, 45, 176);
/* oklch */ color: oklch(47.2% 0.197 305.8);
Tailwind
colors: {
  custom: {
    50: '#a36dc8',
    500: '#772db0',
    950: '#000000',
  },
}
SCSS
$custom: #772db0;
$custom-light: #a36dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#772db0",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 273.893,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.1966,
    "h": 305.8
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#772DB0
secondary
#97C573
accent
#E2458A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772DB0

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

Preview Lab → · Contrast checker → · Palette generator →

#772DB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva