#772FCA#772FCA

#772FCA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.221 H 299.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#772FCA
RGBrgb(119, 47, 202)
HSLhsl(268, 62%, 49%)
HSVhsv(268, 77%, 79%)
CMYKcmyk(41.1%, 76.7%, 0%, 20.8%)
CIE-LABlab(38.23, 60.03, -67.52)
CIE-LCHlch(38.23, 90.35, 311.64°)
OKLaboklab(49.48% 0.1071 -0.1931)
OKLCHoklch(49.48% 0.221 299)
XYZxyz(19.2822, 10.2190, 56.8222)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772FCA #82CA2F
analogous
#2F35CA #772FCA #C52FCA
triadic
#772FCA #CA772F #2FCA77
tetradic
#772FCA #CA2F35 #82CA2F #2FCAC5
square
#772FCA #CA2F35 #82CA2F #2FCAC5
split-complementary
#772FCA #CAC52F #35CA2F
monochromatic
#3D1867 #5A2398 #772FCA #975DD9 #B78FE5

Accessibility & contrast

On white

6.90
#772FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#772FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #772FCA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772FCA#FFFFFF#000000##FFFFFF
##772FCA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#63597C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #772fca;
/* rgb */ color: rgb(119, 47, 202);
/* oklch */ color: oklch(49.5% 0.221 299.0);
Tailwind
colors: {
  custom: {
    50: '#a670db',
    500: '#772fca',
    950: '#000000',
  },
}
SCSS
$custom: #772fca;
$custom-light: #a670db;
$custom-dark: #000000;
JSON
{
  "hex": "#772fca",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 267.871,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.2208,
    "h": 299
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#772FCA
secondary
#ADCF86
accent
#E5429A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #772FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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