#623AA8#623AA8

#623AA8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.168 H 295.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#623AA8
RGBrgb(98, 58, 168)
HSLhsl(262, 49%, 44%)
HSVhsv(262, 65%, 66%)
CMYKcmyk(41.7%, 65.5%, 0%, 34.1%)
CIE-LABlab(34.90, 42.22, -52.99)
CIE-LCHlch(34.90, 67.75, 308.54°)
OKLaboklab(45.71% 0.0729 -0.1512)
OKLCHoklch(45.71% 0.168 295.7)
XYZxyz(13.6161, 8.4496, 37.9518)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AA8 #80A83A
analogous
#3A49A8 #623AA8 #993AA8
triadic
#623AA8 #A8623A #3AA862
tetradic
#623AA8 #A83A49 #80A83A #3AA899
square
#623AA8 #A83A49 #80A83A #3AA899
split-complementary
#623AA8 #A8993A #49A83A
monochromatic
#2D1B4D #472A7B #623AA8 #8159C6 #A387D6

Accessibility & contrast

On white

7.81
#623AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#623AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AA8
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AA8#FFFFFF#000000##FFFFFF
##623AA81.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#50546C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623aa8;
/* rgb */ color: rgb(98, 58, 168);
/* oklch */ color: oklch(45.7% 0.168 295.7);
Tailwind
colors: {
  custom: {
    50: '#9473c3',
    500: '#623aa8',
    950: '#000000',
  },
}
SCSS
$custom: #623aa8;
$custom-light: #9473c3;
$custom-dark: #000000;
JSON
{
  "hex": "#623aa8",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 261.818,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4571,
    "c": 0.16787,
    "h": 295.7
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#623AA8
secondary
#A8C07E
accent
#D850A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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