#7621B3#7621B3

#7621B3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.211 H 305.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7621B3
RGBrgb(118, 33, 179)
HSLhsl(275, 69%, 42%)
HSVhsv(275, 82%, 70%)
CMYKcmyk(34.1%, 81.6%, 0%, 29.8%)
CIE-LABlab(34.38, 59.76, -60.29)
CIE-LCHlch(34.38, 84.89, 314.75°)
OKLaboklab(46.17% 0.1228 -0.1718)
OKLCHoklch(46.17% 0.211 305.6)
XYZxyz(16.1499, 8.1941, 43.3699)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7621B3 #5EB321
analogous
#2D21B3 #7621B3 #B321A7
triadic
#7621B3 #B37621 #21B376
tetradic
#7621B3 #B32D21 #5EB321 #21A7B3
square
#7621B3 #B32D21 #5EB321 #21A7B3
split-complementary
#7621B3 #A7B321 #21B32D
monochromatic
#320E4C #54177F #7621B3 #9637DA #B16BE4

Accessibility & contrast

On white

7.96
#7621B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7621B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7621B3#FFFFFF#000000##FFFFFF
##7621B31.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#6B496B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7621b3;
/* rgb */ color: rgb(118, 33, 179);
/* oklch */ color: oklch(46.2% 0.211 305.6);
Tailwind
colors: {
  custom: {
    50: '#a468cb',
    500: '#7621b3',
    950: '#000000',
  },
}
SCSS
$custom: #7621b3;
$custom-light: #a468cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7621b3",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 274.932,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46171,
    "c": 0.21118,
    "h": 305.6
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#7621B3
secondary
#90CA66
accent
#EC3C85
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7621B3

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

Preview Lab → · Contrast checker → · Palette generator →

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