#623C9B#623C9B

#623C9B is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.0% C 0.149 H 298.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#623C9B
RGBrgb(98, 60, 155)
HSLhsl(264, 44%, 42%)
HSVhsv(264, 61%, 61%)
CMYKcmyk(36.8%, 61.3%, 0%, 39.2%)
CIE-LABlab(34.39, 37.55, -45.99)
CIE-LCHlch(34.39, 59.38, 309.23°)
OKLaboklab(45.04% 0.0715 -0.1306)
OKLCHoklch(45.04% 0.149 298.7)
XYZxyz(12.5678, 8.1948, 31.9236)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623C9B #759B3C
analogous
#3C469B #623C9B #923C9B
triadic
#623C9B #9B623C #3C9B62
tetradic
#623C9B #9B3C46 #759B3C #3C9B92
square
#623C9B #9B3C46 #759B3C #3C9B92
split-complementary
#623C9B #9B923C #469B3C
monochromatic
#2A1A43 #462B6F #623C9B #8056BE #A183CF

Accessibility & contrast

On white

7.96
#623C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#623C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623C9B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623C9B#FFFFFF#000000##FFFFFF
##623C9B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#185099
Tritanopia (blue-blind)
#555065
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #623c9b;
/* rgb */ color: rgb(98, 60, 155);
/* oklch */ color: oklch(45.0% 0.149 298.7);
Tailwind
colors: {
  custom: {
    50: '#9373b9',
    500: '#623c9b',
    950: '#000000',
  },
}
SCSS
$custom: #623c9b;
$custom-light: #9373b9;
$custom-dark: #000000;
JSON
{
  "hex": "#623c9b",
  "rgb": {
    "r": 98,
    "g": 60,
    "b": 155
  },
  "hsl": {
    "h": 264,
    "s": 44.186,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45038,
    "c": 0.14893,
    "h": 298.7
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#623C9B
secondary
#A0B97A
accent
#D454A1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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