#7628AF#7628AF

#7628AF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.201 H 306.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7628AF
RGBrgb(118, 40, 175)
HSLhsl(275, 63%, 42%)
HSVhsv(275, 77%, 69%)
CMYKcmyk(32.6%, 77.1%, 0%, 31.4%)
CIE-LABlab(34.93, 56.35, -57.01)
CIE-LCHlch(34.93, 80.16, 314.67°)
OKLaboklab(46.45% 0.1182 -0.1622)
OKLCHoklch(46.45% 0.201 306.1)
XYZxyz(15.9662, 8.4644, 41.3418)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628AF #61AF28
analogous
#3328AF #7628AF #AF28A5
triadic
#7628AF #AF7628 #28AF76
tetradic
#7628AF #AF3328 #61AF28 #28A5AF
square
#7628AF #AF3328 #61AF28 #28A5AF
split-complementary
#7628AF #A5AF28 #28AF33
monochromatic
#33114B #541D7D #7628AF #9641D4 #B173DF

Accessibility & contrast

On white

7.80
#7628AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7628AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628AF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628AF#FFFFFF#000000##FFFFFF
##7628AF1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#6C4A6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7628af;
/* rgb */ color: rgb(118, 40, 175);
/* oklch */ color: oklch(46.5% 0.201 306.1);
Tailwind
colors: {
  custom: {
    50: '#a36bc8',
    500: '#7628af',
    950: '#000000',
  },
}
SCSS
$custom: #7628af;
$custom-light: #a36bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7628af",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 274.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46453,
    "c": 0.20074,
    "h": 306.1
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#7628AF
secondary
#92C66D
accent
#E64287
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7628AF

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

Preview Lab → · Contrast checker → · Palette generator →

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