#623AB5#623AB5

#623AB5 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.7% C 0.184 H 292.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#623AB5
RGBrgb(98, 58, 181)
HSLhsl(260, 51%, 47%)
HSVhsv(260, 68%, 71%)
CMYKcmyk(45.9%, 68%, 0%, 29%)
CIE-LABlab(35.90, 45.80, -59.10)
CIE-LCHlch(35.90, 74.77, 307.78°)
OKLaboklab(46.75% 0.0712 -0.1692)
OKLCHoklch(46.75% 0.184 292.8)
XYZxyz(14.8882, 8.9585, 44.6518)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AB5 #8DB53A
analogous
#3A50B5 #623AB5 #A03AB5
triadic
#623AB5 #B5623A #3AB562
tetradic
#623AB5 #B53A50 #8DB53A #3AB5A0
square
#623AB5 #B53A50 #8DB53A #3AB5A0
split-complementary
#623AB5 #B5A03A #50B53A
monochromatic
#301C58 #492B87 #623AB5 #8360CC #A78EDB

Accessibility & contrast

On white

7.52
#623AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#623AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AB5
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AB5#FFFFFF#000000##FFFFFF
##623AB51.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#495873
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #623ab5;
/* rgb */ color: rgb(98, 58, 181);
/* oklch */ color: oklch(46.7% 0.184 292.8);
Tailwind
colors: {
  custom: {
    50: '#9673cc',
    500: '#623ab5',
    950: '#000000',
  },
}
SCSS
$custom: #623ab5;
$custom-light: #9673cc;
$custom-dark: #000000;
JSON
{
  "hex": "#623ab5",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 259.512,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46745,
    "c": 0.18355,
    "h": 292.8
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#623AB5
secondary
#B1C685
accent
#DB4DAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #623AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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