#623E98#623E98

#623E98 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.1% C 0.142 H 299.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#623E98
RGBrgb(98, 62, 152)
HSLhsl(264, 42%, 42%)
HSVhsv(264, 59%, 60%)
CMYKcmyk(35.5%, 59.2%, 0%, 40.4%)
CIE-LABlab(34.62, 35.58, -43.80)
CIE-LCHlch(34.62, 56.43, 309.09°)
OKLaboklab(45.14% 0.069 -0.1242)
OKLCHoklch(45.14% 0.142 299.1)
XYZxyz(12.4257, 8.3088, 30.6488)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623E98 #74983E
analogous
#3E4798 #623E98 #8F3E98
triadic
#623E98 #98623E #3E9862
tetradic
#623E98 #983E47 #74983E #3E988F
square
#623E98 #983E47 #74983E #3E988F
split-complementary
#623E98 #988F3E #47983E
monochromatic
#2A1B41 #462C6D #623E98 #8058BB #A184CD

Accessibility & contrast

On white

7.89
#623E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#623E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623E98
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623E98#FFFFFF#000000##FFFFFF
##623E981.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519B
Deuteranopia (green-blind)
#205196
Tritanopia (blue-blind)
#565165
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #623e98;
/* rgb */ color: rgb(98, 62, 152);
/* oklch */ color: oklch(45.1% 0.142 299.1);
Tailwind
colors: {
  custom: {
    50: '#9275b7',
    500: '#623e98',
    950: '#000000',
  },
}
SCSS
$custom: #623e98;
$custom-light: #9275b7;
$custom-dark: #000000;
JSON
{
  "hex": "#623e98",
  "rgb": {
    "r": 98,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 264,
    "s": 42.056,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45143,
    "c": 0.14208,
    "h": 299.1
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#623E98
secondary
#9FB77B
accent
#D256A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623E98

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

Preview Lab → · Contrast checker → · Palette generator →

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