#623CA7#623CA7

#623CA7 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.164 H 295.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#623CA7
RGBrgb(98, 60, 167)
HSLhsl(261, 47%, 45%)
HSVhsv(261, 64%, 65%)
CMYKcmyk(41.3%, 64.1%, 0%, 34.5%)
CIE-LABlab(35.24, 40.83, -51.85)
CIE-LCHlch(35.24, 65.99, 308.22°)
OKLaboklab(45.93% 0.0707 -0.1478)
OKLCHoklch(45.93% 0.164 295.6)
XYZxyz(13.6261, 8.6181, 37.4973)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623CA7 #81A73C
analogous
#3C4CA7 #623CA7 #983CA7
triadic
#623CA7 #A7623C #3CA762
tetradic
#623CA7 #A73C4C #81A73C #3CA798
square
#623CA7 #A73C4C #81A73C #3CA798
split-complementary
#623CA7 #A7983C #4CA73C
monochromatic
#2D1C4D #482C7A #623CA7 #815CC4 #A489D5

Accessibility & contrast

On white

7.71
#623CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#623CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623CA7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623CA7#FFFFFF#000000##FFFFFF
##623CA71.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#50546C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #623ca7;
/* rgb */ color: rgb(98, 60, 167);
/* oklch */ color: oklch(45.9% 0.164 295.6);
Tailwind
colors: {
  custom: {
    50: '#9474c2',
    500: '#623ca7',
    950: '#000000',
  },
}
SCSS
$custom: #623ca7;
$custom-light: #9474c2;
$custom-dark: #000000;
JSON
{
  "hex": "#623ca7",
  "rgb": {
    "r": 98,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 261.308,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.1639,
    "h": 295.6
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#623CA7
secondary
#A9BF80
accent
#D751A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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