#634ED2#634ED2

#634ED2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.2% C 0.194 H 284.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#634ED2
RGBrgb(99, 78, 210)
HSLhsl(250, 59%, 56%)
HSVhsv(250, 63%, 82%)
CMYKcmyk(52.9%, 62.9%, 0%, 17.6%)
CIE-LABlab(42.39, 43.21, -65.45)
CIE-LCHlch(42.39, 78.43, 303.44°)
OKLaboklab(52.16% 0.0493 -0.1878)
OKLCHoklch(52.16% 0.194 284.7)
XYZxyz(19.4993, 12.7535, 62.3945)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634ED2 #BDD24E
analogous
#4E7BD2 #634ED2 #A54ED2
triadic
#634ED2 #D2634E #4ED263
tetradic
#634ED2 #D24E7B #BDD24E #4ED2A5
square
#634ED2 #D24E7B #BDD24E #4ED2A5
split-complementary
#634ED2 #D2A54E #7BD24E
monochromatic
#312284 #432EB5 #634ED2 #8E7FDE #B9B0EB

Accessibility & contrast

On white

5.91
#634ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#634ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634ED2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634ED2#FFFFFF#000000##FFFFFF
##634ED21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#356E89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #634ed2;
/* rgb */ color: rgb(99, 78, 210);
/* oklch */ color: oklch(52.2% 0.194 284.7);
Tailwind
colors: {
  custom: {
    50: '#9981e1',
    500: '#634ed2',
    950: '#000000',
  },
}
SCSS
$custom: #634ed2;
$custom-light: #9981e1;
$custom-dark: #000000;
JSON
{
  "hex": "#634ed2",
  "rgb": {
    "r": 99,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 249.545,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52159,
    "c": 0.19416,
    "h": 284.7
  },
  "luminance": 0.12755
}

Semantic roles & 50–950 ramp

primary
#634ED2
secondary
#D0D9A3
accent
#E345CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #634ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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