#C56BFC#C56BFC

#C56BFC is a light, highly saturated violet. Relative luminance 0.294; OKLCH L 69.0% C 0.216 H 310.6°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#C56BFC
RGBrgb(197, 107, 252)
HSLhsl(277, 96%, 70%)
HSVhsv(277, 58%, 99%)
CMYKcmyk(21.8%, 57.5%, 0%, 1.2%)
CIE-LABlab(61.15, 59.61, -58.33)
CIE-LCHlch(61.15, 83.40, 315.62°)
OKLaboklab(69.05% 0.1406 -0.1639)
OKLCHoklch(69.05% 0.216 310.6)
XYZxyz(45.8511, 29.4149, 95.3388)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56BFC #A2FC6B
analogous
#7C6BFC #C56BFC #FC6BEB
triadic
#C56BFC #FCC56B #6BFCC5
tetradic
#C56BFC #FC7C6B #A2FC6B #6BEBFC
square
#C56BFC #FC7C6B #A2FC6B #6BEBFC
split-complementary
#C56BFC #EBFC6B #6BFC7C
monochromatic
#9205E8 #AD2FFB #C56BFC #DDA7FD #F3E1FE

Accessibility & contrast

On white

3.05
#C56BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#C56BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56BFC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56BFC#FFFFFF#000000##000000
##C56BFC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#5D95F8
Tritanopia (blue-blind)
#BE86AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c56bfc;
/* rgb */ color: rgb(197, 107, 252);
/* oklch */ color: oklch(69.0% 0.216 310.6);
Tailwind
colors: {
  custom: {
    50: '#da99fe',
    500: '#c56bfc',
    950: '#000000',
  },
}
SCSS
$custom: #c56bfc;
$custom-light: #da99fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c56bfc",
  "rgb": {
    "r": 197,
    "g": 107,
    "b": 252
  },
  "hsl": {
    "h": 277.241,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69045,
    "c": 0.21594,
    "h": 310.6
  },
  "luminance": 0.29414
}

Semantic roles & 50–950 ramp

primary
#C56BFC
secondary
#DDF5CE
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C56BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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