#C256F2#C256F2

#C256F2 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.5% C 0.234 H 313.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#C256F2
RGBrgb(194, 86, 242)
HSLhsl(282, 86%, 64%)
HSVhsv(282, 64%, 95%)
CMYKcmyk(19.8%, 64.5%, 0%, 5.1%)
CIE-LABlab(56.62, 66.60, -60.05)
CIE-LCHlch(56.62, 89.67, 317.96°)
OKLaboklab(65.5% 0.1615 -0.1689)
OKLCHoklch(65.5% 0.234 313.7)
XYZxyz(41.6002, 24.5370, 86.5319)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256F2 #86F256
analogous
#7456F2 #C256F2 #F256D4
triadic
#C256F2 #F2C256 #56F2C2
tetradic
#C256F2 #F27456 #86F256 #56D4F2
square
#C256F2 #F27456 #86F256 #56D4F2
split-complementary
#C256F2 #D4F256 #56F274
monochromatic
#890FBF #AD1DEE #C256F2 #D78FF6 #EBC8FB

Accessibility & contrast

On white

3.55
#C256F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#C256F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256F2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256F2#FFFFFF#000000##000000
##C256F21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#4E8AEE
Tritanopia (blue-blind)
#BD749D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c256f2;
/* rgb */ color: rgb(194, 86, 242);
/* oklch */ color: oklch(65.5% 0.234 313.7);
Tailwind
colors: {
  custom: {
    50: '#d88cf7',
    500: '#c256f2',
    950: '#000000',
  },
}
SCSS
$custom: #c256f2;
$custom-light: #d88cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c256f2",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 281.538,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65499,
    "c": 0.23372,
    "h": 313.7
  },
  "luminance": 0.24536
}

Semantic roles & 50–950 ramp

primary
#C256F2
secondary
#C7EDB7
accent
#E20348
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C256F2

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

Preview Lab → · Contrast checker → · Palette generator →

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