#C256F6#C256F6

#C256F6 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.238 H 312.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#C256F6
RGBrgb(194, 86, 246)
HSLhsl(281, 90%, 65%)
HSVhsv(281, 65%, 96%)
CMYKcmyk(21.1%, 65%, 0%, 3.5%)
CIE-LABlab(56.86, 67.41, -61.89)
CIE-LCHlch(56.86, 91.51, 317.45°)
OKLaboklab(65.75% 0.1613 -0.1743)
OKLCHoklch(65.75% 0.238 312.8)
XYZxyz(42.2075, 24.7799, 89.7305)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256F6 #8AF656
analogous
#7256F6 #C256F6 #F656DA
triadic
#C256F6 #F6C256 #56F6C2
tetradic
#C256F6 #F67256 #8AF656 #56DAF6
square
#C256F6 #F67256 #8AF656 #56DAF6
split-complementary
#C256F6 #DAF656 #56F672
monochromatic
#8A0BC7 #AD1CF3 #C256F6 #D790F9 #ECCAFC

Accessibility & contrast

On white

3.53
#C256F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#C256F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256F6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256F6#FFFFFF#000000##000000
##C256F61.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#BC769F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c256f6;
/* rgb */ color: rgb(194, 86, 246);
/* oklch */ color: oklch(65.7% 0.238 312.8);
Tailwind
colors: {
  custom: {
    50: '#d88cfa',
    500: '#c256f6',
    950: '#000000',
  },
}
SCSS
$custom: #c256f6;
$custom-light: #d88cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c256f6",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 246
  },
  "hsl": {
    "h": 280.5,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65748,
    "c": 0.23751,
    "h": 312.8
  },
  "luminance": 0.24779
}

Semantic roles & 50–950 ramp

primary
#C256F6
secondary
#CAEFB9
accent
#E6004B
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C256F6

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

Preview Lab → · Contrast checker → · Palette generator →

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