#634CD2#634CD2

#634CD2 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.197 H 285.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#634CD2
RGBrgb(99, 76, 210)
HSLhsl(250, 60%, 56%)
HSVhsv(250, 64%, 82%)
CMYKcmyk(52.9%, 63.8%, 0%, 17.6%)
CIE-LABlab(41.96, 44.36, -66.15)
CIE-LCHlch(41.96, 79.65, 303.85°)
OKLaboklab(51.85% 0.0512 -0.1899)
OKLCHoklch(51.85% 0.197 285.1)
XYZxyz(19.3594, 12.4736, 62.3478)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634CD2 #BBD24C
analogous
#4C78D2 #634CD2 #A64CD2
triadic
#634CD2 #D2634C #4CD263
tetradic
#634CD2 #D24C78 #BBD24C #4CD2A6
square
#634CD2 #D24C78 #BBD24C #4CD2A6
split-complementary
#634CD2 #D2A64C #78D24C
monochromatic
#322183 #442DB4 #634CD2 #8E7DDE #B8AEEB

Accessibility & contrast

On white

6.01
#634CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#634CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634CD2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634CD2#FFFFFF#000000##FFFFFF
##634CD21.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#356D88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #634cd2;
/* rgb */ color: rgb(99, 76, 210);
/* oklch */ color: oklch(51.8% 0.197 285.1);
Tailwind
colors: {
  custom: {
    50: '#997fe1',
    500: '#634cd2',
    950: '#000000',
  },
}
SCSS
$custom: #634cd2;
$custom-light: #997fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#634cd2",
  "rgb": {
    "r": 99,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 250.299,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.19665,
    "h": 285.1
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

primary
#634CD2
secondary
#CFD9A1
accent
#E345C8
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #634CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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