#623CA6#623CA6

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

Color values

HEX#623CA6
RGBrgb(98, 60, 166)
HSLhsl(262, 47%, 44%)
HSVhsv(262, 64%, 65%)
CMYKcmyk(41%, 63.9%, 0%, 34.9%)
CIE-LABlab(35.17, 40.56, -51.36)
CIE-LCHlch(35.17, 65.44, 308.29°)
OKLaboklab(45.85% 0.0708 -0.1464)
OKLCHoklch(45.85% 0.163 295.8)
XYZxyz(13.5340, 8.5813, 37.0123)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623CA6 #80A63C
analogous
#3C4BA6 #623CA6 #973CA6
triadic
#623CA6 #A6623C #3CA662
tetradic
#623CA6 #A63C4B #80A63C #3CA697
square
#623CA6 #A63C4B #80A63C #3CA697
split-complementary
#623CA6 #A6973C #4BA63C
monochromatic
#2D1C4C #472C79 #623CA6 #815BC4 #A388D4

Accessibility & contrast

On white

7.73
#623CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623CA6
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623CA6#FFFFFF#000000##FFFFFF
##623CA61.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #623ca6;
/* rgb */ color: rgb(98, 60, 166);
/* oklch */ color: oklch(45.9% 0.163 295.8);
Tailwind
colors: {
  custom: {
    50: '#9474c1',
    500: '#623ca6',
    950: '#000000',
  },
}
SCSS
$custom: #623ca6;
$custom-light: #9474c1;
$custom-dark: #000000;
JSON
{
  "hex": "#623ca6",
  "rgb": {
    "r": 98,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 261.509,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.16265,
    "h": 295.8
  },
  "luminance": 0.08582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #623CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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