#623EA6#623EA6

#623EA6 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.2% C 0.160 H 295.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#623EA6
RGBrgb(98, 62, 166)
HSLhsl(261, 46%, 45%)
HSVhsv(261, 63%, 65%)
CMYKcmyk(41%, 62.7%, 0%, 34.9%)
CIE-LABlab(35.59, 39.43, -50.68)
CIE-LCHlch(35.59, 64.21, 307.88°)
OKLaboklab(46.16% 0.0685 -0.1444)
OKLCHoklch(46.16% 0.16 295.4)
XYZxyz(13.6408, 8.7948, 37.0479)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623EA6 #82A63E
analogous
#3E4EA6 #623EA6 #963EA6
triadic
#623EA6 #A6623E #3EA662
tetradic
#623EA6 #A63E4E #82A63E #3EA696
square
#623EA6 #A63E4E #82A63E #3EA696
split-complementary
#623EA6 #A6963E #4EA63E
monochromatic
#2D1D4D #482D79 #623EA6 #815EC3 #A48BD4

Accessibility & contrast

On white

7.61
#623EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#623EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623EA6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623EA6#FFFFFF#000000##FFFFFF
##623EA61.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#51556C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #623ea6;
/* rgb */ color: rgb(98, 62, 166);
/* oklch */ color: oklch(46.2% 0.160 295.4);
Tailwind
colors: {
  custom: {
    50: '#9475c1',
    500: '#623ea6',
    950: '#000000',
  },
}
SCSS
$custom: #623ea6;
$custom-light: #9475c1;
$custom-dark: #000000;
JSON
{
  "hex": "#623ea6",
  "rgb": {
    "r": 98,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 260.769,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46159,
    "c": 0.15984,
    "h": 295.4
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#623EA6
secondary
#A9BE82
accent
#D553A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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