#634FC4#634FC4

#634FC4 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.175 H 286.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#634FC4
RGBrgb(99, 79, 196)
HSLhsl(250, 50%, 54%)
HSVhsv(250, 60%, 77%)
CMYKcmyk(49.5%, 59.7%, 0%, 23.1%)
CIE-LABlab(41.58, 38.43, -58.68)
CIE-LCHlch(41.58, 70.14, 303.22°)
OKLaboklab(51.24% 0.0491 -0.1679)
OKLCHoklch(51.24% 0.175 286.3)
XYZxyz(17.9024, 12.2293, 53.6310)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634FC4 #B0C44F
analogous
#4F76C4 #634FC4 #9E4FC4
triadic
#634FC4 #C4634F #4FC463
tetradic
#634FC4 #C44F76 #B0C44F #4FC49E
square
#634FC4 #C44F76 #B0C44F #4FC49E
split-complementary
#634FC4 #C49E4F #76C44F
monochromatic
#332672 #4836A0 #634FC4 #8C7DD3 #B4ABE3

Accessibility & contrast

On white

6.09
#634FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#634FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634FC4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634FC4#FFFFFF#000000##FFFFFF
##634FC41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#406A82
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #634fc4;
/* rgb */ color: rgb(99, 79, 196);
/* oklch */ color: oklch(51.2% 0.175 286.3);
Tailwind
colors: {
  custom: {
    50: '#9781d7',
    500: '#634fc4',
    950: '#000000',
  },
}
SCSS
$custom: #634fc4;
$custom-light: #9781d7;
$custom-dark: #000000;
JSON
{
  "hex": "#634fc4",
  "rgb": {
    "r": 99,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 250.256,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51241,
    "c": 0.17492,
    "h": 286.3
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#634FC4
secondary
#C8D09E
accent
#D94EC2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #634FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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