#625799#625799

#625799 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 49.7% C 0.103 H 289.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#625799
RGBrgb(98, 87, 153)
HSLhsl(250, 28%, 47%)
HSVhsv(250, 43%, 60%)
CMYKcmyk(35.9%, 43.1%, 0%, 40%)
CIE-LABlab(40.76, 20.63, -34.62)
CIE-LCHlch(40.76, 40.30, 300.79°)
OKLaboklab(49.74% 0.035 -0.0973)
OKLCHoklch(49.74% 0.103 289.8)
XYZxyz(14.1934, 11.7126, 31.6438)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625799 #8E9957
analogous
#576D99 #625799 #835799
triadic
#625799 #996257 #579962
tetradic
#625799 #99576D #8E9957 #579983
square
#625799 #99576D #8E9957 #579983
split-complementary
#625799 #998357 #6D9957
monochromatic
#302B4B #494172 #625799 #837AB3 #A8A1C9

Accessibility & contrast

On white

6.28
#625799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#625799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #625799
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625799#FFFFFF#000000##FFFFFF
##6257991.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619B
Deuteranopia (green-blind)
#425F97
Tritanopia (blue-blind)
#546470
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #625799;
/* rgb */ color: rgb(98, 87, 153);
/* oklch */ color: oklch(49.7% 0.103 289.8);
Tailwind
colors: {
  custom: {
    50: '#9186b7',
    500: '#625799',
    950: '#000000',
  },
}
SCSS
$custom: #625799;
$custom-light: #9186b7;
$custom-dark: #000000;
JSON
{
  "hex": "#625799",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 250,
    "s": 27.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49743,
    "c": 0.10341,
    "h": 289.8
  },
  "luminance": 0.11713
}

Semantic roles & 50–950 ramp

primary
#625799
secondary
#B1B795
accent
#C464B4
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #625799

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

Preview Lab → · Contrast checker → · Palette generator →

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