#634CC5#634CC5

#634CC5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.180 H 286.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#634CC5
RGBrgb(99, 76, 197)
HSLhsl(251, 51%, 54%)
HSVhsv(251, 61%, 77%)
CMYKcmyk(49.7%, 61.4%, 0%, 22.7%)
CIE-LABlab(40.98, 40.49, -60.23)
CIE-LCHlch(40.98, 72.57, 303.91°)
OKLaboklab(50.83% 0.0523 -0.1724)
OKLCHoklch(50.83% 0.18 286.9)
XYZxyz(17.8051, 11.8519, 54.1620)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634CC5 #AEC54C
analogous
#4C71C5 #634CC5 #9F4CC5
triadic
#634CC5 #C5634C #4CC563
tetradic
#634CC5 #C54C71 #AEC54C #4CC59F
square
#634CC5 #C54C71 #AEC54C #4CC59F
split-complementary
#634CC5 #C59F4C #71C54C
monochromatic
#332572 #4834A0 #634CC5 #8B7AD4 #B4A8E3

Accessibility & contrast

On white

6.23
#634CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#634CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634CC5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634CC5#FFFFFF#000000##FFFFFF
##634CC51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#406981
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #634cc5;
/* rgb */ color: rgb(99, 76, 197);
/* oklch */ color: oklch(50.8% 0.180 286.9);
Tailwind
colors: {
  custom: {
    50: '#977fd7',
    500: '#634cc5',
    950: '#000000',
  },
}
SCSS
$custom: #634cc5;
$custom-light: #977fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#634cc5",
  "rgb": {
    "r": 99,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 251.405,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50826,
    "c": 0.1802,
    "h": 286.9
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#634CC5
secondary
#C6D09C
accent
#DB4DC0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #634CC5

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

Preview Lab → · Contrast checker → · Palette generator →

#634CC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva