#C255B2#C255B2

#C255B2 is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.9% C 0.178 H 333.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C255B2
RGBrgb(194, 85, 178)
HSLhsl(309, 47%, 55%)
HSVhsv(309, 56%, 76%)
CMYKcmyk(0%, 56.2%, 8.2%, 23.9%)
CIE-LABlab(53.15, 55.24, -29.12)
CIE-LCHlch(53.15, 62.45, 332.20°)
OKLaboklab(61.9% 0.1591 -0.0793)
OKLCHoklch(61.9% 0.178 333.5)
XYZxyz(33.5326, 21.1831, 44.4334)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C255B2 #55C265
analogous
#9B55C2 #C255B2 #C2557C
triadic
#C255B2 #B2C255 #55B2C2
tetradic
#C255B2 #C29B55 #55C265 #557CC2
square
#C255B2 #C29B55 #55C265 #557CC2
split-complementary
#C255B2 #7CC255 #55C29B
monochromatic
#732968 #A03A91 #C255B2 #D282C6 #E2AFDB

Accessibility & contrast

On white

4.01
#C255B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#C255B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C255B2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C255B2#FFFFFF#000000##000000
##C255B21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#7485AF
Tritanopia (blue-blind)
#CA5C7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c255b2;
/* rgb */ color: rgb(194, 85, 178);
/* oklch */ color: oklch(61.9% 0.178 333.5);
Tailwind
colors: {
  custom: {
    50: '#d78ac9',
    500: '#c255b2',
    950: '#000000',
  },
}
SCSS
$custom: #c255b2;
$custom-light: #d78ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#c255b2",
  "rgb": {
    "r": 194,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 308.807,
    "s": 47.186,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61902,
    "c": 0.17774,
    "h": 333.5
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#C255B2
secondary
#A2D0A9
accent
#D76551
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C255B2

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

Preview Lab → · Contrast checker → · Palette generator →

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