#C351F2#C351F2

#C351F2 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.1% C 0.240 H 314.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C351F2
RGBrgb(195, 81, 242)
HSLhsl(282, 86%, 63%)
HSVhsv(282, 67%, 95%)
CMYKcmyk(19.4%, 66.5%, 0%, 5.1%)
CIE-LABlab(55.99, 68.95, -61.06)
CIE-LCHlch(55.99, 92.10, 318.47°)
OKLaboklab(65.07% 0.1681 -0.1718)
OKLCHoklch(65.07% 0.24 314.4)
XYZxyz(41.4725, 23.8991, 86.4155)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C351F2 #80F251
analogous
#7251F2 #C351F2 #F251D1
triadic
#C351F2 #F2C351 #51F2C3
tetradic
#C351F2 #F27251 #80F251 #51D1F2
square
#C351F2 #F27251 #80F251 #51D1F2
split-complementary
#C351F2 #D1F251 #51F272
monochromatic
#880EBB #AF18EE #C351F2 #D78AF6 #EAC3FB

Accessibility & contrast

On white

3.63
#C351F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#C351F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C351F2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C351F2#FFFFFF#000000##000000
##C351F21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4A89EE
Tritanopia (blue-blind)
#BF719B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c351f2;
/* rgb */ color: rgb(195, 81, 242);
/* oklch */ color: oklch(65.1% 0.240 314.4);
Tailwind
colors: {
  custom: {
    50: '#d98af7',
    500: '#c351f2',
    950: '#000000',
  },
}
SCSS
$custom: #c351f2;
$custom-light: #d98af7;
$custom-dark: #000000;
JSON
{
  "hex": "#c351f2",
  "rgb": {
    "r": 195,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 282.484,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65071,
    "c": 0.24038,
    "h": 314.4
  },
  "luminance": 0.23898
}

Semantic roles & 50–950 ramp

primary
#C351F2
secondary
#C3ECB3
accent
#E30344
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C351F2

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

Preview Lab → · Contrast checker → · Palette generator →

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