#C331F6#C331F6

#C331F6 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.6% C 0.276 H 315.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C331F6
RGBrgb(195, 49, 246)
HSLhsl(284, 92%, 58%)
HSVhsv(284, 80%, 96%)
CMYKcmyk(20.7%, 80.1%, 0%, 3.5%)
CIE-LABlab(52.35, 80.83, -69.16)
CIE-LCHlch(52.35, 106.38, 319.45°)
OKLaboklab(62.57% 0.1955 -0.1954)
OKLCHoklch(62.57% 0.276 315)
XYZxyz(40.2358, 20.4541, 88.9995)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331F6 #64F631
analogous
#6031F6 #C331F6 #F631C6
triadic
#C331F6 #F6C331 #31F6C3
tetradic
#C331F6 #F66031 #64F631 #31C6F6
square
#C331F6 #F66031 #64F631 #31C6F6
split-complementary
#C331F6 #C6F631 #31F660
monochromatic
#7C07A5 #A90AE0 #C331F6 #D46CF9 #E5A6FB

Accessibility & contrast

On white

4.13
#C331F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#C331F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C331F6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331F6#FFFFFF#000000##000000
##C331F61.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075FB
Deuteranopia (green-blind)
#2380F2
Tritanopia (blue-blind)
#BF6296
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c331f6;
/* rgb */ color: rgb(195, 49, 246);
/* oklch */ color: oklch(62.6% 0.276 315.0);
Tailwind
colors: {
  custom: {
    50: '#db7bfa',
    500: '#c331f6',
    950: '#000000',
  },
}
SCSS
$custom: #c331f6;
$custom-light: #db7bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c331f6",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 246
  },
  "hsl": {
    "h": 284.467,
    "s": 91.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62572,
    "c": 0.27644,
    "h": 315
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#C331F6
secondary
#AEE99A
accent
#FF2960
background
#FEF8FF
surface
#FCEFFF
border
#D5CAD7
text
#160B17
muted
#847C85

Preview Lab

Preview with #C331F6

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

Preview Lab → · Contrast checker → · Palette generator →

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