#623AA2#623AA2

#623AA2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.161 H 297.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#623AA2
RGBrgb(98, 58, 162)
HSLhsl(263, 47%, 43%)
HSVhsv(263, 64%, 64%)
CMYKcmyk(39.5%, 64.2%, 0%, 36.5%)
CIE-LABlab(34.46, 40.58, -50.10)
CIE-LCHlch(34.46, 64.47, 309.00°)
OKLaboklab(45.25% 0.0735 -0.1427)
OKLCHoklch(45.25% 0.161 297.2)
XYZxyz(13.0700, 8.2312, 35.0756)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AA2 #7AA23A
analogous
#3A46A2 #623AA2 #963AA2
triadic
#623AA2 #A2623A #3AA262
tetradic
#623AA2 #A23A46 #7AA23A #3AA296
square
#623AA2 #A23A46 #7AA23A #3AA296
split-complementary
#623AA2 #A2963A #46A23A
monochromatic
#2B1A48 #472A75 #623AA2 #8057C3 #A284D3

Accessibility & contrast

On white

7.94
#623AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#623AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AA2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AA2#FFFFFF#000000##FFFFFF
##623AA21.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#535168
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #623aa2;
/* rgb */ color: rgb(98, 58, 162);
/* oklch */ color: oklch(45.3% 0.161 297.2);
Tailwind
colors: {
  custom: {
    50: '#9372be',
    500: '#623aa2',
    950: '#000000',
  },
}
SCSS
$custom: #623aa2;
$custom-light: #9372be;
$custom-dark: #000000;
JSON
{
  "hex": "#623aa2",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 263.077,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4525,
    "c": 0.16052,
    "h": 297.2
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#623AA2
secondary
#A3BD7B
accent
#D751A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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