#C255E6#C255E6

#C255E6 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.224 H 316.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#C255E6
RGBrgb(194, 85, 230)
HSLhsl(285, 74%, 62%)
HSVhsv(285, 63%, 90%)
CMYKcmyk(15.7%, 63%, 0%, 9.8%)
CIE-LABlab(55.77, 64.66, -54.70)
CIE-LCHlch(55.77, 84.69, 319.77°)
OKLaboklab(64.66% 0.163 -0.1533)
OKLCHoklch(64.66% 0.224 316.8)
XYZxyz(39.7774, 23.6810, 77.3232)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C255E6 #79E655
analogous
#7955E6 #C255E6 #E655C2
triadic
#C255E6 #E6C255 #55E6C2
tetradic
#C255E6 #E67955 #79E655 #55C2E6
square
#C255E6 #E67955 #79E655 #55C2E6
split-complementary
#C255E6 #C2E655 #55E679
monochromatic
#8419A8 #AE21DD #C255E6 #D58AEE #E8C0F6

Accessibility & contrast

On white

3.66
#C255E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#C255E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C255E6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C255E6#FFFFFF#000000##000000
##C255E61.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#227FEA
Deuteranopia (green-blind)
#5789E2
Tritanopia (blue-blind)
#C06F96
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c255e6;
/* rgb */ color: rgb(194, 85, 230);
/* oklch */ color: oklch(64.7% 0.224 316.8);
Tailwind
colors: {
  custom: {
    50: '#d88bee',
    500: '#c255e6',
    950: '#000000',
  },
}
SCSS
$custom: #c255e6;
$custom-light: #d88bee;
$custom-dark: #000000;
JSON
{
  "hex": "#c255e6",
  "rgb": {
    "r": 194,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 285.103,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64659,
    "c": 0.22373,
    "h": 316.8
  },
  "luminance": 0.2368
}

Semantic roles & 50–950 ramp

primary
#C255E6
secondary
#BEE6B1
accent
#D60F41
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C255E6

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

Preview Lab → · Contrast checker → · Palette generator →

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