#C56AFB#C56AFB

#C56AFB is a light, highly saturated violet. Relative luminance 0.291; OKLCH L 68.9% C 0.216 H 310.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#C56AFB
RGBrgb(197, 106, 251)
HSLhsl(278, 95%, 70%)
HSVhsv(278, 58%, 98%)
CMYKcmyk(21.5%, 57.8%, 0%, 1.6%)
CIE-LABlab(60.91, 59.89, -58.15)
CIE-LCHlch(60.91, 83.48, 315.84°)
OKLaboklab(68.85% 0.1418 -0.1634)
OKLCHoklch(68.85% 0.216 310.9)
XYZxyz(45.5894, 29.1444, 94.4719)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56AFB #A0FB6A
analogous
#7C6AFB #C56AFB #FB6AE9
triadic
#C56AFB #FBC56A #6AFBC5
tetradic
#C56AFB #FB7C6A #A0FB6A #6AE9FB
square
#C56AFB #FB7C6A #A0FB6A #6AE9FB
split-complementary
#C56AFB #E9FB6A #6AFB7C
monochromatic
#9206E4 #AE2EF9 #C56AFB #DCA6FD #F3E1FE

Accessibility & contrast

On white

3.08
#C56AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#C56AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56AFB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56AFB#FFFFFF#000000##000000
##C56AFB1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#5D95F7
Tritanopia (blue-blind)
#BE85A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c56afb;
/* rgb */ color: rgb(197, 106, 251);
/* oklch */ color: oklch(68.9% 0.216 310.9);
Tailwind
colors: {
  custom: {
    50: '#da98fd',
    500: '#c56afb',
    950: '#000000',
  },
}
SCSS
$custom: #c56afb;
$custom-light: #da98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c56afb",
  "rgb": {
    "r": 197,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 277.655,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.68854,
    "c": 0.21634,
    "h": 310.9
  },
  "luminance": 0.29143
}

Semantic roles & 50–950 ramp

primary
#C56AFB
secondary
#DBF5CC
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C56AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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