#C351FF#C351FF

#C351FF is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.9% C 0.252 H 311.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#C351FF
RGBrgb(195, 81, 255)
HSLhsl(279, 100%, 66%)
HSVhsv(279, 68%, 100%)
CMYKcmyk(23.5%, 68.2%, 0%, 0%)
CIE-LABlab(56.79, 71.55, -66.99)
CIE-LCHlch(56.79, 98.02, 316.89°)
OKLaboklab(65.9% 0.167 -0.1892)
OKLCHoklch(65.9% 0.252 311.4)
XYZxyz(43.4947, 24.7080, 97.0663)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C351FF #8DFF51
analogous
#6C51FF #C351FF #FF51E4
triadic
#C351FF #FFC351 #51FFC3
tetradic
#C351FF #FF6C51 #8DFF51 #51E4FF
square
#C351FF #FF6C51 #8DFF51 #51E4FF
split-complementary
#C351FF #E4FF51 #51FF6C
monochromatic
#8C00D6 #AE14FF #C351FF #D88EFF #EDCBFF

Accessibility & contrast

On white

3.53
#C351FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#C351FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C351FF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C351FF#FFFFFF#000000##000000
##C351FF1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#3B8AFB
Tritanopia (blue-blind)
#BC76A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c351ff;
/* rgb */ color: rgb(195, 81, 255);
/* oklch */ color: oklch(65.9% 0.252 311.4);
Tailwind
colors: {
  custom: {
    50: '#da8aff',
    500: '#c351ff',
    950: '#000000',
  },
}
SCSS
$custom: #c351ff;
$custom-light: #da8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#c351ff",
  "rgb": {
    "r": 195,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 279.31,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65902,
    "c": 0.2524,
    "h": 311.4
  },
  "luminance": 0.24707
}

Semantic roles & 50–950 ramp

primary
#C351FF
secondary
#CDF3B9
accent
#E6004F
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #C351FF

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

Preview Lab → · Contrast checker → · Palette generator →

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