#623FB7#623FB7

#623FB7 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.180 H 291.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#623FB7
RGBrgb(98, 63, 183)
HSLhsl(258, 49%, 48%)
HSVhsv(258, 66%, 72%)
CMYKcmyk(46.4%, 65.6%, 0%, 28.2%)
CIE-LABlab(37.06, 43.64, -58.40)
CIE-LCHlch(37.06, 72.90, 306.77°)
OKLaboklab(47.63% 0.0658 -0.1671)
OKLCHoklch(47.63% 0.18 291.5)
XYZxyz(15.3594, 9.5701, 45.8285)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623FB7 #94B73F
analogous
#3F58B7 #623FB7 #9E3FB7
triadic
#623FB7 #B7623F #3FB762
tetradic
#623FB7 #B73F58 #94B73F #3FB79E
square
#623FB7 #B73F58 #94B73F #3FB79E
split-complementary
#623FB7 #B79E3F #58B73F
monochromatic
#31205C #4A2F89 #623FB7 #8568CB #AA96DB

Accessibility & contrast

On white

7.21
#623FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#623FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623FB7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623FB7#FFFFFF#000000##FFFFFF
##623FB71.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#485C75
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #623fb7;
/* rgb */ color: rgb(98, 63, 183);
/* oklch */ color: oklch(47.6% 0.180 291.5);
Tailwind
colors: {
  custom: {
    50: '#9676cd',
    500: '#623fb7',
    950: '#000000',
  },
}
SCSS
$custom: #623fb7;
$custom-light: #9676cd;
$custom-dark: #000000;
JSON
{
  "hex": "#623fb7",
  "rgb": {
    "r": 98,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 257.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47625,
    "c": 0.17961,
    "h": 291.5
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#623FB7
secondary
#B5C68B
accent
#D84FB0
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #623FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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