#7628B1#7628B1

#7628B1 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.203 H 305.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7628B1
RGBrgb(118, 40, 177)
HSLhsl(274, 63%, 43%)
HSVhsv(274, 77%, 69%)
CMYKcmyk(33.3%, 77.4%, 0%, 30.6%)
CIE-LABlab(35.09, 56.80, -57.94)
CIE-LCHlch(35.09, 81.14, 314.43°)
OKLaboklab(46.61% 0.1178 -0.165)
OKLCHoklch(46.61% 0.203 305.5)
XYZxyz(16.1640, 8.5436, 42.3840)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628B1 #63B128
analogous
#3228B1 #7628B1 #B128A7
triadic
#7628B1 #B17628 #28B176
tetradic
#7628B1 #B13228 #63B128 #28A7B1
square
#7628B1 #B13228 #63B128 #28A7B1
split-complementary
#7628B1 #A7B128 #28B132
monochromatic
#33114D #551D7F #7628B1 #9542D4 #B174E0

Accessibility & contrast

On white

7.75
#7628B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7628B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628B1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628B1#FFFFFF#000000##FFFFFF
##7628B11.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#6B4B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7628b1;
/* rgb */ color: rgb(118, 40, 177);
/* oklch */ color: oklch(46.6% 0.203 305.5);
Tailwind
colors: {
  custom: {
    50: '#a36bc9',
    500: '#7628b1',
    950: '#000000',
  },
}
SCSS
$custom: #7628b1;
$custom-light: #a36bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7628b1",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 274.161,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46614,
    "c": 0.2027,
    "h": 305.5
  },
  "luminance": 0.08543
}

Semantic roles & 50–950 ramp

primary
#7628B1
secondary
#94C76E
accent
#E64288
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7628B1

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

Preview Lab → · Contrast checker → · Palette generator →

#7628B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva