#C631E2#C631E2

#C631E2 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.6% C 0.262 H 320.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C631E2
RGBrgb(198, 49, 226)
HSLhsl(291, 75%, 54%)
HSVhsv(291, 78%, 89%)
CMYKcmyk(12.4%, 78.3%, 0%, 11.4%)
CIE-LABlab(51.49, 77.80, -59.26)
CIE-LCHlch(51.49, 97.80, 322.70°)
OKLaboklab(61.65% 0.2021 -0.1663)
OKLCHoklch(61.65% 0.262 320.6)
XYZxyz(38.1128, 19.6954, 73.7308)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631E2 #4DE231
analogous
#6E31E2 #C631E2 #E231A6
triadic
#C631E2 #E2C631 #31E2C6
tetradic
#C631E2 #E26E31 #4DE231 #31A6E2
square
#C631E2 #E26E31 #4DE231 #31A6E2
split-complementary
#C631E2 #A6E231 #31E26E
monochromatic
#741386 #A21ABB #C631E2 #D567EA #E49CF1

Accessibility & contrast

On white

4.25
#C631E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C631E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C631E2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631E2#FFFFFF#000000##000000
##C631E21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#4680DE
Tritanopia (blue-blind)
#C7588A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c631e2;
/* rgb */ color: rgb(198, 49, 226);
/* oklch */ color: oklch(61.6% 0.262 320.6);
Tailwind
colors: {
  custom: {
    50: '#dc7bec',
    500: '#c631e2',
    950: '#000000',
  },
}
SCSS
$custom: #c631e2;
$custom-light: #dc7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#c631e2",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 290.508,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61645,
    "c": 0.26176,
    "h": 320.6
  },
  "luminance": 0.19693
}

Semantic roles & 50–950 ramp

primary
#C631E2
secondary
#9EDD92
accent
#F23654
background
#FEF8FE
surface
#FCEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #C631E2

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

Preview Lab → · Contrast checker → · Palette generator →

#C631E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva