#7B628F#7B628F

#7B628F is a mid, moderate violet. Relative luminance 0.149; OKLCH L 53.8% C 0.074 H 309.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7B628F
RGBrgb(123, 98, 143)
HSLhsl(273, 19%, 47%)
HSVhsv(273, 31%, 56%)
CMYKcmyk(14%, 31.5%, 0%, 43.9%)
CIE-LABlab(45.54, 19.16, -20.99)
CIE-LCHlch(45.54, 28.42, 312.39°)
OKLaboklab(53.8% 0.0473 -0.0576)
OKLCHoklch(53.8% 0.074 309.4)
XYZxyz(17.4931, 14.9297, 27.9414)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B628F #768F62
analogous
#65628F #7B628F #8F628D
triadic
#7B628F #8F7B62 #628F7B
tetradic
#7B628F #8F6562 #768F62 #628D8F
square
#7B628F #8F6562 #768F62 #628D8F
split-complementary
#7B628F #8D8F62 #628F65
monochromatic
#3D3046 #5C496B #7B628F #9984AB #B7A8C3

Accessibility & contrast

On white

5.27
#7B628F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7B628F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B628F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B628F#FFFFFF#000000##FFFFFF
##7B628F1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B91
Deuteranopia (green-blind)
#5F6C8E
Tritanopia (blue-blind)
#796872
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b628f;
/* rgb */ color: rgb(123, 98, 143);
/* oklch */ color: oklch(53.8% 0.074 309.4);
Tailwind
colors: {
  custom: {
    50: '#a18fb0',
    500: '#7b628f',
    950: '#000000',
  },
}
SCSS
$custom: #7b628f;
$custom-light: #a18fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b628f",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 273.333,
    "s": 18.672,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.07449,
    "h": 309.4
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#7B628F
secondary
#A5B29B
accent
#BB6C90
background
#FAF8FA
surface
#F3F0F4
border
#CDCBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #7B628F

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

Preview Lab → · Contrast checker → · Palette generator →

#7B628F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva