#634CB2#634CB2

#634CB2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.4% C 0.155 H 289.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#634CB2
RGBrgb(99, 76, 178)
HSLhsl(254, 40%, 50%)
HSVhsv(254, 57%, 70%)
CMYKcmyk(44.4%, 57.3%, 0%, 30.2%)
CIE-LABlab(39.64, 34.88, -51.27)
CIE-LCHlch(39.64, 62.01, 304.23°)
OKLaboklab(49.42% 0.0529 -0.1461)
OKLCHoklch(49.42% 0.155 289.9)
XYZxyz(15.7637, 11.0353, 43.4103)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634CB2 #9BB24C
analogous
#4C68B2 #634CB2 #964CB2
triadic
#634CB2 #B2634C #4CB263
tetradic
#634CB2 #B24C68 #9BB24C #4CB296
square
#634CB2 #B24C68 #9BB24C #4CB296
split-complementary
#634CB2 #B2964C #68B24C
monochromatic
#33275C #4B3A87 #634CB2 #8876C5 #ADA1D7

Accessibility & contrast

On white

6.55
#634CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#634CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634CB2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634CB2#FFFFFF#000000##FFFFFF
##634CB21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5FB5
Deuteranopia (green-blind)
#135BB0
Tritanopia (blue-blind)
#4C6277
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #634cb2;
/* rgb */ color: rgb(99, 76, 178);
/* oklch */ color: oklch(49.4% 0.155 289.9);
Tailwind
colors: {
  custom: {
    50: '#957fca',
    500: '#634cb2',
    950: '#000000',
  },
}
SCSS
$custom: #634cb2;
$custom-light: #957fca;
$custom-dark: #000000;
JSON
{
  "hex": "#634cb2",
  "rgb": {
    "r": 99,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 253.529,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.15537,
    "h": 289.9
  },
  "luminance": 0.11036
}

Semantic roles & 50–950 ramp

primary
#634CB2
secondary
#BAC496
accent
#D058B5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #634CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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