#623FAB#623FAB

#623FAB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.7% C 0.165 H 294.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#623FAB
RGBrgb(98, 63, 171)
HSLhsl(259, 46%, 46%)
HSVhsv(259, 63%, 67%)
CMYKcmyk(42.7%, 63.2%, 0%, 32.9%)
CIE-LABlab(36.16, 40.25, -52.74)
CIE-LCHlch(36.16, 66.35, 307.35°)
OKLaboklab(46.69% 0.067 -0.1505)
OKLCHoklch(46.69% 0.165 294)
XYZxyz(14.1632, 9.0916, 39.5288)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623FAB #88AB3F
analogous
#3F52AB #623FAB #983FAB
triadic
#623FAB #AB623F #3FAB62
tetradic
#623FAB #AB3F52 #88AB3F #3FAB98
square
#623FAB #AB3F52 #88AB3F #3FAB98
split-complementary
#623FAB #AB983F #52AB3F
monochromatic
#2F1E52 #482F7E #623FAB #8262C5 #A68FD6

Accessibility & contrast

On white

7.45
#623FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#623FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623FAB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623FAB#FFFFFF#000000##FFFFFF
##623FAB1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#4E586F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #623fab;
/* rgb */ color: rgb(98, 63, 171);
/* oklch */ color: oklch(46.7% 0.165 294.0);
Tailwind
colors: {
  custom: {
    50: '#9476c5',
    500: '#623fab',
    950: '#000000',
  },
}
SCSS
$custom: #623fab;
$custom-light: #9476c5;
$custom-dark: #000000;
JSON
{
  "hex": "#623fab",
  "rgb": {
    "r": 98,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 259.444,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4669,
    "c": 0.16472,
    "h": 294
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#623FAB
secondary
#ADC185
accent
#D652AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #623FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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