#772DBC#772DBC

#772DBC is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.209 H 302.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#772DBC
RGBrgb(119, 45, 188)
HSLhsl(271, 61%, 46%)
HSVhsv(271, 76%, 74%)
CMYKcmyk(36.7%, 76.1%, 0%, 26.3%)
CIE-LABlab(36.80, 57.52, -61.67)
CIE-LCHlch(36.80, 84.33, 313.01°)
OKLaboklab(48.12% 0.1123 -0.1759)
OKLCHoklch(48.12% 0.209 302.5)
XYZxyz(17.6211, 9.4295, 48.4589)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DBC #72BC2D
analogous
#302DBC #772DBC #BC2DB9
triadic
#772DBC #BC772D #2DBC77
tetradic
#772DBC #BC302D #72BC2D #2DB9BC
square
#772DBC #BC302D #72BC2D #2DB9BC
split-complementary
#772DBC #B9BC2D #2DBC30
monochromatic
#381559 #58218B #772DBC #9551D5 #B382E1

Accessibility & contrast

On white

7.28
#772DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#772DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DBC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DBC#FFFFFF#000000##FFFFFF
##772DBC1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#685273
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #772dbc;
/* rgb */ color: rgb(119, 45, 188);
/* oklch */ color: oklch(48.1% 0.209 302.5);
Tailwind
colors: {
  custom: {
    50: '#a46ed1',
    500: '#772dbc',
    950: '#000000',
  },
}
SCSS
$custom: #772dbc;
$custom-light: #a46ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#772dbc",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 271.049,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48115,
    "c": 0.20868,
    "h": 302.5
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#772DBC
secondary
#A1CA7B
accent
#E44391
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #772DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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