#623E9A#623E9A

#623E9A is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.3% C 0.145 H 298.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#623E9A
RGBrgb(98, 62, 154)
HSLhsl(263, 43%, 42%)
HSVhsv(263, 60%, 60%)
CMYKcmyk(36.4%, 59.7%, 0%, 39.6%)
CIE-LABlab(34.75, 36.13, -44.80)
CIE-LCHlch(34.75, 57.55, 308.88°)
OKLaboklab(45.28% 0.069 -0.1271)
OKLCHoklch(45.28% 0.145 298.5)
XYZxyz(12.5909, 8.3749, 31.5187)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623E9A #769A3E
analogous
#3E489A #623E9A #903E9A
triadic
#623E9A #9A623E #3E9A62
tetradic
#623E9A #9A3E48 #769A3E #3E9A90
square
#623E9A #9A3E48 #769A3E #3E9A90
split-complementary
#623E9A #9A903E #489A3E
monochromatic
#2A1B43 #462C6E #623E9A #8059BC #A185CE

Accessibility & contrast

On white

7.85
#623E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#623E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623E9A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623E9A#FFFFFF#000000##FFFFFF
##623E9A1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A529D
Deuteranopia (green-blind)
#1E5198
Tritanopia (blue-blind)
#555166
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623e9a;
/* rgb */ color: rgb(98, 62, 154);
/* oklch */ color: oklch(45.3% 0.145 298.5);
Tailwind
colors: {
  custom: {
    50: '#9275b8',
    500: '#623e9a',
    950: '#000000',
  },
}
SCSS
$custom: #623e9a;
$custom-light: #9275b8;
$custom-dark: #000000;
JSON
{
  "hex": "#623e9a",
  "rgb": {
    "r": 98,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 263.478,
    "s": 42.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45284,
    "c": 0.14464,
    "h": 298.5
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#623E9A
secondary
#A0B87C
accent
#D255A1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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