#C256FF#C256FF

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

Color values

HEX#C256FF
RGBrgb(194, 86, 255)
HSLhsl(278, 100%, 67%)
HSVhsv(278, 66%, 100%)
CMYKcmyk(23.9%, 66.3%, 0%, 0%)
CIE-LABlab(57.41, 69.25, -65.99)
CIE-LCHlch(57.41, 95.66, 316.38°)
OKLaboklab(66.32% 0.1607 -0.1864)
OKLCHoklch(66.32% 0.246 310.8)
XYZxyz(43.6225, 25.3459, 97.1826)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256FF #93FF56
analogous
#6E56FF #C256FF #FF56E8
triadic
#C256FF #FFC256 #56FFC2
tetradic
#C256FF #FF6E56 #93FF56 #56E8FF
square
#C256FF #FF6E56 #93FF56 #56E8FF
split-complementary
#C256FF #E8FF56 #56FF6E
monochromatic
#8C00DB #AC19FF #C256FF #D893FF #EED0FF

Accessibility & contrast

On white

3.46
#C256FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#C256FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256FF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256FF#FFFFFF#000000##000000
##C256FF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#3F8CFB
Tritanopia (blue-blind)
#BA79A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c256ff;
/* rgb */ color: rgb(194, 86, 255);
/* oklch */ color: oklch(66.3% 0.246 310.8);
Tailwind
colors: {
  custom: {
    50: '#d98dff',
    500: '#c256ff',
    950: '#000000',
  },
}
SCSS
$custom: #c256ff;
$custom-light: #d98dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c256ff",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 278.343,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66319,
    "c": 0.24607,
    "h": 310.8
  },
  "luminance": 0.25345
}

Semantic roles & 50–950 ramp

primary
#C256FF
secondary
#D1F3BD
accent
#E60053
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C256FF

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

Preview Lab → · Contrast checker → · Palette generator →

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