#C255FF#C255FF

#C255FF is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 66.2% C 0.247 H 310.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#C255FF
RGBrgb(194, 85, 255)
HSLhsl(278, 100%, 67%)
HSVhsv(278, 67%, 100%)
CMYKcmyk(23.9%, 66.7%, 0%, 0%)
CIE-LABlab(57.26, 69.68, -66.24)
CIE-LCHlch(57.26, 96.14, 316.45°)
OKLaboklab(66.21% 0.1617 -0.1871)
OKLCHoklch(66.21% 0.247 310.8)
XYZxyz(43.5432, 25.1873, 97.1562)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C255FF #92FF55
analogous
#6D55FF #C255FF #FF55E7
triadic
#C255FF #FFC255 #55FFC2
tetradic
#C255FF #FF6D55 #92FF55 #55E7FF
square
#C255FF #FF6D55 #92FF55 #55E7FF
split-complementary
#C255FF #E7FF55 #55FF6D
monochromatic
#8C00DA #AC18FF #C255FF #D892FF #EECFFF

Accessibility & contrast

On white

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

On black

6.04
#C255FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C255FF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C255FF#FFFFFF#000000##000000
##C255FF1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#3E8BFB
Tritanopia (blue-blind)
#BA79A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c255ff;
/* rgb */ color: rgb(194, 85, 255);
/* oklch */ color: oklch(66.2% 0.247 310.8);
Tailwind
colors: {
  custom: {
    50: '#d98cff',
    500: '#c255ff',
    950: '#000000',
  },
}
SCSS
$custom: #c255ff;
$custom-light: #d98cff;
$custom-dark: #000000;
JSON
{
  "hex": "#c255ff",
  "rgb": {
    "r": 194,
    "g": 85,
    "b": 255
  },
  "hsl": {
    "h": 278.471,
    "s": 100,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.2473,
    "h": 310.8
  },
  "luminance": 0.25186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C255FF

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

Preview Lab → · Contrast checker → · Palette generator →

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