#C056F2#C056F2

#C056F2 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.3% C 0.233 H 313.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#C056F2
RGBrgb(192, 86, 242)
HSLhsl(281, 86%, 64%)
HSVhsv(281, 64%, 95%)
CMYKcmyk(20.7%, 64.5%, 0%, 5.1%)
CIE-LABlab(56.36, 66.17, -60.48)
CIE-LCHlch(56.36, 89.64, 317.57°)
OKLaboklab(65.26% 0.1591 -0.1703)
OKLCHoklch(65.26% 0.233 313.1)
XYZxyz(41.0902, 24.2740, 86.5080)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C056F2 #88F256
analogous
#7256F2 #C056F2 #F256D6
triadic
#C056F2 #F2C056 #56F2C0
tetradic
#C056F2 #F27256 #88F256 #56D6F2
square
#C056F2 #F27256 #88F256 #56D6F2
split-complementary
#C056F2 #D6F256 #56F272
monochromatic
#860FBF #AB1DEE #C056F2 #D58FF6 #EAC8FB

Accessibility & contrast

On white

3.59
#C056F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#C056F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C056F2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C056F2#FFFFFF#000000##000000
##C056F21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#4B8AEE
Tritanopia (blue-blind)
#BB759D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c056f2;
/* rgb */ color: rgb(192, 86, 242);
/* oklch */ color: oklch(65.3% 0.233 313.1);
Tailwind
colors: {
  custom: {
    50: '#d78cf7',
    500: '#c056f2',
    950: '#000000',
  },
}
SCSS
$custom: #c056f2;
$custom-light: #d78cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c056f2",
  "rgb": {
    "r": 192,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 280.769,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65257,
    "c": 0.23301,
    "h": 313.1
  },
  "luminance": 0.24273
}

Semantic roles & 50–950 ramp

primary
#C056F2
secondary
#C8EDB7
accent
#E2034B
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #C056F2

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

Preview Lab → · Contrast checker → · Palette generator →

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