#634BC5#634BC5

#634BC5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.182 H 287.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#634BC5
RGBrgb(99, 75, 197)
HSLhsl(252, 51%, 53%)
HSVhsv(252, 62%, 77%)
CMYKcmyk(49.7%, 61.9%, 0%, 22.7%)
CIE-LABlab(40.76, 41.07, -60.58)
CIE-LCHlch(40.76, 73.19, 304.13°)
OKLaboklab(50.67% 0.0533 -0.1735)
OKLCHoklch(50.67% 0.182 287.1)
XYZxyz(17.7368, 11.7152, 54.1392)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634BC5 #ADC54B
analogous
#4B70C5 #634BC5 #A04BC5
triadic
#634BC5 #C5634B #4BC563
tetradic
#634BC5 #C54B70 #ADC54B #4BC5A0
square
#634BC5 #C54B70 #ADC54B #4BC5A0
split-complementary
#634BC5 #C5A04B #70C54B
monochromatic
#342471 #49339F #634BC5 #8B79D4 #B3A8E3

Accessibility & contrast

On white

6.28
#634BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#634BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634BC5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634BC5#FFFFFF#000000##FFFFFF
##634BC51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#406881
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #634bc5;
/* rgb */ color: rgb(99, 75, 197);
/* oklch */ color: oklch(50.7% 0.182 287.1);
Tailwind
colors: {
  custom: {
    50: '#977ed7',
    500: '#634bc5',
    950: '#000000',
  },
}
SCSS
$custom: #634bc5;
$custom-light: #977ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#634bc5",
  "rgb": {
    "r": 99,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 251.803,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50665,
    "c": 0.18151,
    "h": 287.1
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#634BC5
secondary
#C6D09C
accent
#DB4DBF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #634BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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