#C256FE#C256FE

#C256FE is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 66.3% C 0.245 H 311.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#C256FE
RGBrgb(194, 86, 254)
HSLhsl(279, 99%, 67%)
HSVhsv(279, 66%, 100%)
CMYKcmyk(23.6%, 66.1%, 0%, 0.4%)
CIE-LABlab(57.35, 69.05, -65.54)
CIE-LCHlch(57.35, 95.20, 316.49°)
OKLaboklab(66.26% 0.1608 -0.185)
OKLCHoklch(66.26% 0.245 311)
XYZxyz(43.4619, 25.2817, 96.3371)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256FE #92FE56
analogous
#6E56FE #C256FE #FE56E6
triadic
#C256FE #FEC256 #56FEC2
tetradic
#C256FE #FE6E56 #92FE56 #56E6FE
square
#C256FE #FE6E56 #92FE56 #56E6FE
split-complementary
#C256FE #E6FE56 #56FE6E
monochromatic
#8C01D8 #AC19FE #C256FE #D893FE #EED0FF

Accessibility & contrast

On white

3.47
#C256FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#C256FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256FE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256FE#FFFFFF#000000##000000
##C256FE1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#418CFA
Tritanopia (blue-blind)
#BA79A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c256fe;
/* rgb */ color: rgb(194, 86, 254);
/* oklch */ color: oklch(66.3% 0.245 311.0);
Tailwind
colors: {
  custom: {
    50: '#d98dff',
    500: '#c256fe',
    950: '#000000',
  },
}
SCSS
$custom: #c256fe;
$custom-light: #d98dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c256fe",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 254
  },
  "hsl": {
    "h": 278.571,
    "s": 98.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66255,
    "c": 0.24512,
    "h": 311
  },
  "luminance": 0.25281
}

Semantic roles & 50–950 ramp

primary
#C256FE
secondary
#D0F3BD
accent
#E60052
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C256FE

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

Preview Lab → · Contrast checker → · Palette generator →

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