#634CB7#634CB7

#634CB7 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.8% C 0.162 H 289.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#634CB7
RGBrgb(99, 76, 183)
HSLhsl(253, 43%, 51%)
HSVhsv(253, 58%, 72%)
CMYKcmyk(45.9%, 58.5%, 0%, 28.2%)
CIE-LABlab(39.98, 36.35, -53.66)
CIE-LCHlch(39.98, 64.81, 304.11°)
OKLaboklab(49.78% 0.0528 -0.1531)
OKLCHoklch(49.78% 0.162 289)
XYZxyz(16.2748, 11.2398, 46.1025)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634CB7 #A0B74C
analogous
#4C6AB7 #634CB7 #984CB7
triadic
#634CB7 #B7634C #4CB763
tetradic
#634CB7 #B74C6A #A0B74C #4CB798
square
#634CB7 #B74C6A #A0B74C #4CB798
split-complementary
#634CB7 #B7984C #6AB74C
monochromatic
#342761 #4B398D #634CB7 #8978C9 #AFA3DA

Accessibility & contrast

On white

6.47
#634CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#634CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634CB7
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634CB7#FFFFFF#000000##FFFFFF
##634CB71.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#005CB5
Tritanopia (blue-blind)
#49647A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #634cb7;
/* rgb */ color: rgb(99, 76, 183);
/* oklch */ color: oklch(49.8% 0.162 289.0);
Tailwind
colors: {
  custom: {
    50: '#957fcd',
    500: '#634cb7',
    950: '#000000',
  },
}
SCSS
$custom: #634cb7;
$custom-light: #957fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#634cb7",
  "rgb": {
    "r": 99,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 252.897,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.162,
    "h": 289
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#634CB7
secondary
#BDC798
accent
#D255B8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #634CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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