#625498#625498

#625498 is a mid, moderate violet. Relative luminance 0.112; OKLCH L 49.1% C 0.107 H 291.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#625498
RGBrgb(98, 84, 152)
HSLhsl(252, 29%, 46%)
HSVhsv(252, 45%, 60%)
CMYKcmyk(35.5%, 44.7%, 0%, 40.4%)
CIE-LABlab(39.92, 22.22, -35.34)
CIE-LCHlch(39.92, 41.74, 302.16°)
OKLaboklab(49.1% 0.039 -0.0994)
OKLCHoklch(49.1% 0.107 291.4)
XYZxyz(13.8733, 11.2040, 31.1313)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625498 #8A9854
analogous
#546898 #625498 #845498
triadic
#625498 #986254 #549862
tetradic
#625498 #985468 #8A9854 #549884
square
#625498 #985468 #8A9854 #549884
split-complementary
#625498 #988454 #689854
monochromatic
#2F2849 #493E71 #625498 #8376B3 #A69DC9

Accessibility & contrast

On white

6.48
#625498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#625498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #625498
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625498#FFFFFF#000000##FFFFFF
##6254981.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F9B
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#55616E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #625498;
/* rgb */ color: rgb(98, 84, 152);
/* oklch */ color: oklch(49.1% 0.107 291.4);
Tailwind
colors: {
  custom: {
    50: '#9184b6',
    500: '#625498',
    950: '#000000',
  },
}
SCSS
$custom: #625498;
$custom-light: #9184b6;
$custom-dark: #000000;
JSON
{
  "hex": "#625498",
  "rgb": {
    "r": 98,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 252.353,
    "s": 28.814,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49095,
    "c": 0.10679,
    "h": 291.4
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#625498
secondary
#AFB692
accent
#C563B1
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #625498

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

Preview Lab → · Contrast checker → · Palette generator →

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