#623DA7#623DA7

#623DA7 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.1% C 0.163 H 295.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#623DA7
RGBrgb(98, 61, 167)
HSLhsl(261, 46%, 45%)
HSVhsv(261, 63%, 65%)
CMYKcmyk(41.3%, 63.5%, 0%, 34.5%)
CIE-LABlab(35.45, 40.27, -51.51)
CIE-LCHlch(35.45, 65.38, 308.02°)
OKLaboklab(46.08% 0.0696 -0.1468)
OKLCHoklch(46.08% 0.163 295.4)
XYZxyz(13.6790, 8.7239, 37.5149)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623DA7 #82A73D
analogous
#3D4DA7 #623DA7 #973DA7
triadic
#623DA7 #A7623D #3DA762
tetradic
#623DA7 #A73D4D #82A73D #3DA797
square
#623DA7 #A73D4D #82A73D #3DA797
split-complementary
#623DA7 #A7973D #4DA73D
monochromatic
#2D1C4D #482D7A #623DA7 #815DC4 #A48AD4

Accessibility & contrast

On white

7.65
#623DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#623DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623DA7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623DA7#FFFFFF#000000##FFFFFF
##623DA71.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#50556C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #623da7;
/* rgb */ color: rgb(98, 61, 167);
/* oklch */ color: oklch(46.1% 0.163 295.4);
Tailwind
colors: {
  custom: {
    50: '#9474c2',
    500: '#623da7',
    950: '#000000',
  },
}
SCSS
$custom: #623da7;
$custom-light: #9474c2;
$custom-dark: #000000;
JSON
{
  "hex": "#623da7",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 260.943,
    "s": 46.491,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46081,
    "c": 0.16251,
    "h": 295.4
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#623DA7
secondary
#A9BF81
accent
#D652A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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