#623D9C#623D9C

#623D9C is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.149 H 298.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#623D9C
RGBrgb(98, 61, 156)
HSLhsl(263, 44%, 43%)
HSVhsv(263, 61%, 61%)
CMYKcmyk(37.2%, 60.9%, 0%, 38.8%)
CIE-LABlab(34.67, 37.25, -46.14)
CIE-LCHlch(34.67, 59.30, 308.91°)
OKLaboklab(45.27% 0.0702 -0.1311)
OKLCHoklch(45.27% 0.149 298.2)
XYZxyz(12.7050, 8.3343, 32.3854)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623D9C #779C3D
analogous
#3D489C #623D9C #913D9C
triadic
#623D9C #9C623D #3D9C62
tetradic
#623D9C #9C3D48 #779C3D #3D9C91
square
#623D9C #9C3D48 #779C3D #3D9C91
split-complementary
#623D9C #9C913D #489C3D
monochromatic
#2B1B44 #462C70 #623D9C #8058BE #A184CF

Accessibility & contrast

On white

7.87
#623D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#623D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623D9C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623D9C#FFFFFF#000000##FFFFFF
##623D9C1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#18519A
Tritanopia (blue-blind)
#555166
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623d9c;
/* rgb */ color: rgb(98, 61, 156);
/* oklch */ color: oklch(45.3% 0.149 298.2);
Tailwind
colors: {
  custom: {
    50: '#9374ba',
    500: '#623d9c',
    950: '#000000',
  },
}
SCSS
$custom: #623d9c;
$custom-light: #9374ba;
$custom-dark: #000000;
JSON
{
  "hex": "#623d9c",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 156
  },
  "hsl": {
    "h": 263.368,
    "s": 43.779,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45268,
    "c": 0.14869,
    "h": 298.2
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#623D9C
secondary
#A1B97C
accent
#D454A2
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #623D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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