#7621AA#7621AA

#7621AA is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.203 H 308.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7621AA
RGBrgb(118, 33, 170)
HSLhsl(277, 67%, 40%)
HSVhsv(277, 81%, 67%)
CMYKcmyk(30.6%, 80.6%, 0%, 33.3%)
CIE-LABlab(33.65, 57.79, -56.10)
CIE-LCHlch(33.65, 80.55, 315.85°)
OKLaboklab(45.43% 0.1252 -0.1595)
OKLCHoklch(45.43% 0.203 308.1)
XYZxyz(15.2692, 7.8418, 38.7316)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7621AA #55AA21
analogous
#3121AA #7621AA #AA219A
triadic
#7621AA #AA7621 #21AA76
tetradic
#7621AA #AA3121 #55AA21 #219AAA
square
#7621AA #AA3121 #55AA21 #219AAA
split-complementary
#7621AA #9AAA21 #21AA31
monochromatic
#2F0D43 #521777 #7621AA #9831D7 #B264E1

Accessibility & contrast

On white

8.18
#7621AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7621AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7621AA
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7621AA#FFFFFF#000000##FFFFFF
##7621AA1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#6E4566
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7621aa;
/* rgb */ color: rgb(118, 33, 170);
/* oklch */ color: oklch(45.4% 0.203 308.1);
Tailwind
colors: {
  custom: {
    50: '#a367c4',
    500: '#7621aa',
    950: '#000000',
  },
}
SCSS
$custom: #7621aa;
$custom-light: #a367c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7621aa",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 277.226,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.2028,
    "h": 308.1
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#7621AA
secondary
#87C661
accent
#EA3D7F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7621AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7621AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva