#623EBA#623EBA

#623EBA is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.185 H 291.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#623EBA
RGBrgb(98, 62, 186)
HSLhsl(257, 50%, 49%)
HSVhsv(257, 67%, 73%)
CMYKcmyk(47.3%, 66.7%, 0%, 27.1%)
CIE-LABlab(37.09, 45.04, -60.12)
CIE-LCHlch(37.09, 75.12, 306.84°)
OKLaboklab(47.72% 0.0665 -0.1722)
OKLCHoklch(47.72% 0.185 291.1)
XYZxyz(15.6201, 9.5865, 47.4722)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623EBA #96BA3E
analogous
#3E58BA #623EBA #A03EBA
triadic
#623EBA #BA623E #3EBA62
tetradic
#623EBA #BA3E58 #96BA3E #3EBAA0
square
#623EBA #BA3E58 #96BA3E #3EBAA0
split-complementary
#623EBA #BAA03E #58BA3E
monochromatic
#321F5E #4A2F8C #623EBA #8668CD #AB96DC

Accessibility & contrast

On white

7.20
#623EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#623EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623EBA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623EBA#FFFFFF#000000##FFFFFF
##623EBA1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#465C77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #623eba;
/* rgb */ color: rgb(98, 62, 186);
/* oklch */ color: oklch(47.7% 0.185 291.1);
Tailwind
colors: {
  custom: {
    50: '#9676d0',
    500: '#623eba',
    950: '#000000',
  },
}
SCSS
$custom: #623eba;
$custom-light: #9676d0;
$custom-dark: #000000;
JSON
{
  "hex": "#623eba",
  "rgb": {
    "r": 98,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 257.419,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.18455,
    "h": 291.1
  },
  "luminance": 0.09587
}

Semantic roles & 50–950 ramp

primary
#623EBA
secondary
#B6C88C
accent
#DA4EB1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #623EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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