#C255FC#C255FC

#C255FC is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 66.0% C 0.244 H 311.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#C255FC
RGBrgb(194, 85, 252)
HSLhsl(279, 97%, 66%)
HSVhsv(279, 66%, 99%)
CMYKcmyk(23%, 66.3%, 0%, 1.2%)
CIE-LABlab(57.07, 69.07, -64.88)
CIE-LCHlch(57.07, 94.76, 316.79°)
OKLaboklab(66.02% 0.162 -0.1831)
OKLCHoklch(66.02% 0.244 311.5)
XYZxyz(43.0641, 24.9957, 94.6327)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C255FC #8FFC55
analogous
#6E55FC #C255FC #FC55E2
triadic
#C255FC #FCC255 #55FCC2
tetradic
#C255FC #FC6E55 #8FFC55 #55E2FC
square
#C255FC #FC6E55 #8FFC55 #55E2FC
split-complementary
#C255FC #E2FC55 #55FC6E
monochromatic
#8B04D3 #AC19FB #C255FC #D891FD #EDCDFE

Accessibility & contrast

On white

3.50
#C255FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#C255FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C255FC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C255FC#FFFFFF#000000##000000
##C255FC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c255fc;
/* rgb */ color: rgb(194, 85, 252);
/* oklch */ color: oklch(66.0% 0.244 311.5);
Tailwind
colors: {
  custom: {
    50: '#d98cfe',
    500: '#c255fc',
    950: '#000000',
  },
}
SCSS
$custom: #c255fc;
$custom-light: #d98cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c255fc",
  "rgb": {
    "r": 194,
    "g": 85,
    "b": 252
  },
  "hsl": {
    "h": 279.162,
    "s": 96.532,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66016,
    "c": 0.24446,
    "h": 311.5
  },
  "luminance": 0.24995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C255FC

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

Preview Lab → · Contrast checker → · Palette generator →

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