#7628B3#7628B3

#7628B3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.205 H 305.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7628B3
RGBrgb(118, 40, 179)
HSLhsl(274, 63%, 43%)
HSVhsv(274, 78%, 70%)
CMYKcmyk(34.1%, 77.7%, 0%, 29.8%)
CIE-LABlab(35.25, 57.26, -58.87)
CIE-LCHlch(35.25, 82.12, 314.20°)
OKLaboklab(46.78% 0.1173 -0.1677)
OKLCHoklch(46.78% 0.205 305)
XYZxyz(16.3648, 8.6239, 43.4415)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628B3 #65B328
analogous
#3028B3 #7628B3 #B328AA
triadic
#7628B3 #B37628 #28B376
tetradic
#7628B3 #B33028 #65B328 #28AAB3
square
#7628B3 #B33028 #65B328 #28AAB3
split-complementary
#7628B3 #AAB328 #28B330
monochromatic
#34124F #551D81 #7628B3 #9543D5 #B175E0

Accessibility & contrast

On white

7.71
#7628B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7628B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628B3
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628B3#FFFFFF#000000##FFFFFF
##7628B31.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#6A4C6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7628b3;
/* rgb */ color: rgb(118, 40, 179);
/* oklch */ color: oklch(46.8% 0.205 305.0);
Tailwind
colors: {
  custom: {
    50: '#a36bcb',
    500: '#7628b3',
    950: '#000000',
  },
}
SCSS
$custom: #7628b3;
$custom-light: #a36bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7628b3",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 273.669,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46775,
    "c": 0.20465,
    "h": 305
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#7628B3
secondary
#96C86F
accent
#E6418A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7628B3

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

Preview Lab → · Contrast checker → · Palette generator →

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