#C256FC#C256FC

#C256FC is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 66.1% C 0.243 H 311.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#C256FC
RGBrgb(194, 86, 252)
HSLhsl(279, 97%, 66%)
HSVhsv(279, 66%, 99%)
CMYKcmyk(23%, 65.9%, 0%, 1.2%)
CIE-LABlab(57.23, 68.64, -64.63)
CIE-LCHlch(57.23, 94.28, 316.72°)
OKLaboklab(66.13% 0.1609 -0.1824)
OKLCHoklch(66.13% 0.243 311.4)
XYZxyz(43.1433, 25.1542, 94.6591)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256FC #90FC56
analogous
#6F56FC #C256FC #FC56E3
triadic
#C256FC #FCC256 #56FCC2
tetradic
#C256FC #FC6F56 #90FC56 #56E3FC
square
#C256FC #FC6F56 #90FC56 #56E3FC
split-complementary
#C256FC #E3FC56 #56FC6F
monochromatic
#8B04D4 #AC1AFB #C256FC #D892FD #EDCEFE

Accessibility & contrast

On white

3.48
#C256FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#C256FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256FC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256FC#FFFFFF#000000##000000
##C256FC1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#438BF8
Tritanopia (blue-blind)
#BB78A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c256fc;
/* rgb */ color: rgb(194, 86, 252);
/* oklch */ color: oklch(66.1% 0.243 311.4);
Tailwind
colors: {
  custom: {
    50: '#d98dfe',
    500: '#c256fc',
    950: '#000000',
  },
}
SCSS
$custom: #c256fc;
$custom-light: #d98dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c256fc",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 252
  },
  "hsl": {
    "h": 279.036,
    "s": 96.512,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66127,
    "c": 0.24322,
    "h": 311.4
  },
  "luminance": 0.25153
}

Semantic roles & 50–950 ramp

primary
#C256FC
secondary
#CFF2BC
accent
#E60050
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C256FC

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

Preview Lab → · Contrast checker → · Palette generator →

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