#7628B0#7628B0

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

Color values

HEX#7628B0
RGBrgb(118, 40, 176)
HSLhsl(274, 63%, 42%)
HSVhsv(274, 77%, 69%)
CMYKcmyk(33%, 77.3%, 0%, 31%)
CIE-LABlab(35.01, 56.57, -57.48)
CIE-LCHlch(35.01, 80.65, 314.55°)
OKLaboklab(46.53% 0.118 -0.1636)
OKLCHoklch(46.53% 0.202 305.8)
XYZxyz(16.0647, 8.5039, 41.8610)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628B0 #62B028
analogous
#3228B0 #7628B0 #B028A6
triadic
#7628B0 #B07628 #28B076
tetradic
#7628B0 #B03228 #62B028 #28A6B0
square
#7628B0 #B03228 #62B028 #28A6B0
split-complementary
#7628B0 #A6B028 #28B032
monochromatic
#33114C #551D7E #7628B0 #9541D4 #B173DF

Accessibility & contrast

On white

7.78
#7628B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7628B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628B0
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628B0#FFFFFF#000000##FFFFFF
##7628B01.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#6B4B6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7628b0;
/* rgb */ color: rgb(118, 40, 176);
/* oklch */ color: oklch(46.5% 0.202 305.8);
Tailwind
colors: {
  custom: {
    50: '#a36bc9',
    500: '#7628b0',
    950: '#000000',
  },
}
SCSS
$custom: #7628b0;
$custom-light: #a36bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7628b0",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 274.412,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46533,
    "c": 0.20172,
    "h": 305.8
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#7628B0
secondary
#93C66D
accent
#E64288
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7628B0

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

Preview Lab → · Contrast checker → · Palette generator →

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