#7621D4#7621D4

#7621D4 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 49.1% C 0.242 H 297.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7621D4
RGBrgb(118, 33, 212)
HSLhsl(268, 73%, 48%)
HSVhsv(268, 84%, 83%)
CMYKcmyk(44.3%, 84.4%, 0%, 16.9%)
CIE-LABlab(37.28, 67.20, -74.87)
CIE-LCHlch(37.28, 100.61, 311.91°)
OKLaboklab(49.06% 0.112 -0.2146)
OKLCHoklch(49.06% 0.242 297.6)
XYZxyz(19.8956, 9.6923, 63.0972)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7621D4 #7FD421
analogous
#2125D4 #7621D4 #CF21D4
triadic
#7621D4 #D47621 #21D476
tetradic
#7621D4 #D42125 #7FD421 #21D4CF
square
#7621D4 #D42125 #7FD421 #21D4CF
split-complementary
#7621D4 #D4CF21 #25D421
monochromatic
#3B116A #59199F #7621D4 #954FE4 #B584EC

Accessibility & contrast

On white

7.15
#7621D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7621D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7621D4#FFFFFF#000000##FFFFFF
##7621D41.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D9
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#5D587F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7621d4;
/* rgb */ color: rgb(118, 33, 212);
/* oklch */ color: oklch(49.1% 0.242 297.6);
Tailwind
colors: {
  custom: {
    50: '#a76ae3',
    500: '#7621d4',
    950: '#000000',
  },
}
SCSS
$custom: #7621d4;
$custom-light: #a76ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7621d4",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 212
  },
  "hsl": {
    "h": 268.492,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49061,
    "c": 0.24206,
    "h": 297.6
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#7621D4
secondary
#ABD57C
accent
#F03899
background
#FBF6FE
surface
#F6ECFC
border
#D0C7D5
text
#110716
muted
#807A84

Preview Lab

Preview with #7621D4

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

Preview Lab → · Contrast checker → · Palette generator →

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