#623AB8#623AB8

#623AB8 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.187 H 292.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#623AB8
RGBrgb(98, 58, 184)
HSLhsl(259, 52%, 47%)
HSVhsv(259, 68%, 72%)
CMYKcmyk(46.7%, 68.5%, 0%, 27.8%)
CIE-LABlab(36.14, 46.64, -60.48)
CIE-LCHlch(36.14, 76.38, 307.63°)
OKLaboklab(46.99% 0.0708 -0.1732)
OKLCHoklch(46.99% 0.187 292.2)
XYZxyz(15.1994, 9.0830, 46.2905)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AB8 #90B83A
analogous
#3A51B8 #623AB8 #A13AB8
triadic
#623AB8 #B8623A #3AB862
tetradic
#623AB8 #B83A51 #90B83A #3AB8A1
square
#623AB8 #B83A51 #90B83A #3AB8A1
split-complementary
#623AB8 #B8A13A #51B83A
monochromatic
#301D5B #492B89 #623AB8 #8462CD #A890DC

Accessibility & contrast

On white

7.46
#623AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#623AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AB8
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AB8#FFFFFF#000000##FFFFFF
##623AB81.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#485974
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #623ab8;
/* rgb */ color: rgb(98, 58, 184);
/* oklch */ color: oklch(47.0% 0.187 292.2);
Tailwind
colors: {
  custom: {
    50: '#9673ce',
    500: '#623ab8',
    950: '#000000',
  },
}
SCSS
$custom: #623ab8;
$custom-light: #9673ce;
$custom-dark: #000000;
JSON
{
  "hex": "#623ab8",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 259.048,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46991,
    "c": 0.18712,
    "h": 292.2
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#623AB8
secondary
#B3C787
accent
#DC4CAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #623AB8

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

Preview Lab → · Contrast checker → · Palette generator →

#623AB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva