#C56FF2#C56FF2

#C56FF2 is a light, vivid violet. Relative luminance 0.296; OKLCH L 69.0% C 0.200 H 312.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#C56FF2
RGBrgb(197, 111, 242)
HSLhsl(279, 83%, 69%)
HSVhsv(279, 54%, 95%)
CMYKcmyk(18.6%, 54.1%, 0%, 5.1%)
CIE-LABlab(61.35, 55.52, -52.47)
CIE-LCHlch(61.35, 76.39, 316.61°)
OKLaboklab(69.02% 0.1352 -0.1468)
OKLCHoklch(69.02% 0.2 312.6)
XYZxyz(44.7346, 29.6511, 87.3539)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56FF2 #9CF26F
analogous
#846FF2 #C56FF2 #F26FDE
triadic
#C56FF2 #F2C56F #6FF2C5
tetradic
#C56FF2 #F2846F #9CF26F #6FDEF2
square
#C56FF2 #F2846F #9CF26F #6FDEF2
split-complementary
#C56FF2 #DEF26F #6FF284
monochromatic
#9113D4 #AE37ED #C56FF2 #DCA7F7 #F2DFFC

Accessibility & contrast

On white

3.03
#C56FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#C56FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56FF2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56FF2#FFFFFF#000000##000000
##C56FF21.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B90F6
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#C085A6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c56ff2;
/* rgb */ color: rgb(197, 111, 242);
/* oklch */ color: oklch(69.0% 0.200 312.6);
Tailwind
colors: {
  custom: {
    50: '#d99bf7',
    500: '#c56ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c56ff2;
$custom-light: #d99bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c56ff2",
  "rgb": {
    "r": 197,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 279.389,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69022,
    "c": 0.19959,
    "h": 312.6
  },
  "luminance": 0.2965
}

Semantic roles & 50–950 ramp

primary
#C56FF2
secondary
#D8F1CB
accent
#E00651
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C56FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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