#623EC5#623EC5

#623EC5 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.198 H 289.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#623EC5
RGBrgb(98, 62, 197)
HSLhsl(256, 54%, 51%)
HSVhsv(256, 69%, 77%)
CMYKcmyk(50.3%, 68.5%, 0%, 22.7%)
CIE-LABlab(37.97, 48.16, -65.13)
CIE-LCHlch(37.97, 81.00, 306.48°)
OKLaboklab(48.63% 0.0648 -0.1869)
OKLCHoklch(48.63% 0.198 289.1)
XYZxyz(16.8348, 10.0724, 53.8696)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623EC5 #A1C53E
analogous
#3E5DC5 #623EC5 #A53EC5
triadic
#623EC5 #C5623E #3EC562
tetradic
#623EC5 #C53E5D #A1C53E #3EC5A5
square
#623EC5 #C53E5D #A1C53E #3EC5A5
split-complementary
#623EC5 #C5A53E #5DC53E
monochromatic
#332069 #4A2E98 #623EC5 #886DD3 #AF9CE1

Accessibility & contrast

On white

6.97
#623EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#623EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #623EC5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623EC5#FFFFFF#000000##FFFFFF
##623EC51.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#3F607D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #623ec5;
/* rgb */ color: rgb(98, 62, 197);
/* oklch */ color: oklch(48.6% 0.198 289.1);
Tailwind
colors: {
  custom: {
    50: '#9776d8',
    500: '#623ec5',
    950: '#000000',
  },
}
SCSS
$custom: #623ec5;
$custom-light: #9776d8;
$custom-dark: #000000;
JSON
{
  "hex": "#623ec5",
  "rgb": {
    "r": 98,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 256,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48628,
    "c": 0.1978,
    "h": 289.1
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#623EC5
secondary
#BDCD91
accent
#DD4BB6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #623EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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