#C56BFB#C56BFB

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

Color values

HEX#C56BFB
RGBrgb(197, 107, 251)
HSLhsl(278, 95%, 70%)
HSVhsv(278, 57%, 98%)
CMYKcmyk(21.5%, 57.4%, 0%, 1.6%)
CIE-LABlab(61.09, 59.40, -57.86)
CIE-LCHlch(61.09, 82.93, 315.75°)
OKLaboklab(68.99% 0.1405 -0.1626)
OKLCHoklch(68.99% 0.215 310.8)
XYZxyz(45.6930, 29.3517, 94.5065)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C56BFB #A1FB6B
analogous
#7D6BFB #C56BFB #FB6BE9
triadic
#C56BFB #FBC56B #6BFBC5
tetradic
#C56BFB #FB7D6B #A1FB6B #6BE9FB
square
#C56BFB #FB7D6B #A1FB6B #6BE9FB
split-complementary
#C56BFB #E9FB6B #6BFB7D
monochromatic
#9206E5 #AE2FF9 #C56BFB #DCA7FD #F3E1FE

Accessibility & contrast

On white

3.06
#C56BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#C56BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C56BFB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C56BFB#FFFFFF#000000##000000
##C56BFB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#BE85A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c56bfb;
/* rgb */ color: rgb(197, 107, 251);
/* oklch */ color: oklch(69.0% 0.215 310.8);
Tailwind
colors: {
  custom: {
    50: '#da99fd',
    500: '#c56bfb',
    950: '#000000',
  },
}
SCSS
$custom: #c56bfb;
$custom-light: #da99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c56bfb",
  "rgb": {
    "r": 197,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 277.5,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68987,
    "c": 0.2149,
    "h": 310.8
  },
  "luminance": 0.29351
}

Semantic roles & 50–950 ramp

primary
#C56BFB
secondary
#DCF5CD
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C56BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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