#623CA5#623CA5

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

Color values

HEX#623CA5
RGBrgb(98, 60, 165)
HSLhsl(262, 47%, 44%)
HSVhsv(262, 64%, 65%)
CMYKcmyk(40.6%, 63.6%, 0%, 35.3%)
CIE-LABlab(35.09, 40.28, -50.88)
CIE-LCHlch(35.09, 64.90, 308.37°)
OKLaboklab(45.78% 0.0709 -0.145)
OKLCHoklch(45.78% 0.161 296.1)
XYZxyz(13.4426, 8.5447, 36.5311)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623CA5 #7FA53C
analogous
#3C4BA5 #623CA5 #973CA5
triadic
#623CA5 #A5623C #3CA562
tetradic
#623CA5 #A53C4B #7FA53C #3CA597
square
#623CA5 #A53C4B #7FA53C #3CA597
split-complementary
#623CA5 #A5973C #4BA53C
monochromatic
#2D1B4B #472C78 #623CA5 #815BC3 #A388D4

Accessibility & contrast

On white

7.75
#623CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#623CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623CA5
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623CA5#FFFFFF#000000##FFFFFF
##623CA51.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#51546B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #623ca5;
/* rgb */ color: rgb(98, 60, 165);
/* oklch */ color: oklch(45.8% 0.161 296.1);
Tailwind
colors: {
  custom: {
    50: '#9474c0',
    500: '#623ca5',
    950: '#000000',
  },
}
SCSS
$custom: #623ca5;
$custom-light: #9474c0;
$custom-dark: #000000;
JSON
{
  "hex": "#623ca5",
  "rgb": {
    "r": 98,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 261.714,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.16142,
    "h": 296.1
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#623CA5
secondary
#A7BE7F
accent
#D651A6
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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