#625178#625178

#625178 is a mid, moderate violet. Relative luminance 0.098; OKLCH L 46.8% C 0.065 H 304.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#625178
RGBrgb(98, 81, 120)
HSLhsl(266, 19%, 39%)
HSVhsv(266, 33%, 47%)
CMYKcmyk(18.3%, 32.5%, 0%, 52.9%)
CIE-LABlab(37.55, 15.54, -19.56)
CIE-LCHlch(37.55, 24.98, 308.46°)
OKLaboklab(46.77% 0.0363 -0.0538)
OKLCHoklch(46.77% 0.065 304)
XYZxyz(11.3689, 9.8376, 19.0656)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625178 #677851
analogous
#515478 #625178 #765178
triadic
#625178 #786251 #517862
tetradic
#625178 #785154 #677851 #517876
square
#625178 #785154 #677851 #517876
split-complementary
#625178 #787651 #547851
monochromatic
#26202F #443853 #625178 #806B9B #9F90B4

Accessibility & contrast

On white

7.08
#625178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#625178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #625178
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625178#FFFFFF#000000##FFFFFF
##6251781.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587A
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#5F575F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #625178;
/* rgb */ color: rgb(98, 81, 120);
/* oklch */ color: oklch(46.8% 0.065 304.0);
Tailwind
colors: {
  custom: {
    50: '#8f829f',
    500: '#625178',
    950: '#000000',
  },
}
SCSS
$custom: #625178;
$custom-light: #8f829f;
$custom-dark: #000000;
JSON
{
  "hex": "#625178",
  "rgb": {
    "r": 98,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 266.154,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46772,
    "c": 0.06493,
    "h": 304
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#625178
secondary
#94A184
accent
#BC6C99
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #625178

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

Preview Lab → · Contrast checker → · Palette generator →

#625178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva