#623BA7#623BA7

#623BA7 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.165 H 295.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#623BA7
RGBrgb(98, 59, 167)
HSLhsl(262, 48%, 44%)
HSVhsv(262, 65%, 65%)
CMYKcmyk(41.3%, 64.7%, 0%, 34.5%)
CIE-LABlab(35.03, 41.39, -52.18)
CIE-LCHlch(35.03, 66.60, 308.42°)
OKLaboklab(45.78% 0.0719 -0.1488)
OKLCHoklch(45.78% 0.165 295.8)
XYZxyz(13.5742, 8.5143, 37.4800)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623BA7 #80A73B
analogous
#3B4AA7 #623BA7 #983BA7
triadic
#623BA7 #A7623B #3BA762
tetradic
#623BA7 #A73B4A #80A73B #3BA798
square
#623BA7 #A73B4A #80A73B #3BA798
split-complementary
#623BA7 #A7983B #4AA73B
monochromatic
#2D1B4D #472B7A #623BA7 #815AC5 #A388D5

Accessibility & contrast

On white

7.77
#623BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#623BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623BA7
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623BA7#FFFFFF#000000##FFFFFF
##623BA71.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#50546B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623ba7;
/* rgb */ color: rgb(98, 59, 167);
/* oklch */ color: oklch(45.8% 0.165 295.8);
Tailwind
colors: {
  custom: {
    50: '#9473c2',
    500: '#623ba7',
    950: '#000000',
  },
}
SCSS
$custom: #623ba7;
$custom-light: #9473c2;
$custom-dark: #000000;
JSON
{
  "hex": "#623ba7",
  "rgb": {
    "r": 98,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 261.667,
    "s": 47.788,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4578,
    "c": 0.16527,
    "h": 295.8
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#623BA7
secondary
#A8BF7F
accent
#D750A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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