#C254BF#C254BF

#C254BF is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.4% C 0.190 H 328.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C254BF
RGBrgb(194, 84, 191)
HSLhsl(302, 47%, 55%)
HSVhsv(302, 57%, 76%)
CMYKcmyk(0%, 56.7%, 1.5%, 23.9%)
CIE-LABlab(53.57, 57.90, -35.99)
CIE-LCHlch(53.57, 68.17, 328.13°)
OKLaboklab(62.41% 0.1622 -0.0989)
OKLCHoklch(62.41% 0.19 328.6)
XYZxyz(34.8220, 21.5738, 51.6102)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C254BF #54C257
analogous
#8E54C2 #C254BF #C25488
triadic
#C254BF #BFC254 #54BFC2
tetradic
#C254BF #C28E54 #54C257 #5488C2
square
#C254BF #C28E54 #54C257 #5488C2
split-complementary
#C254BF #88C254 #54C28E
monochromatic
#732971 #A0399D #C254BF #D281D0 #E2AEE1

Accessibility & contrast

On white

3.95
#C254BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#C254BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C254BF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C254BF#FFFFFF#000000##000000
##C254BF1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C2
Deuteranopia (green-blind)
#6E85BC
Tritanopia (blue-blind)
#C86082
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c254bf;
/* rgb */ color: rgb(194, 84, 191);
/* oklch */ color: oklch(62.4% 0.190 328.6);
Tailwind
colors: {
  custom: {
    50: '#d78ad2',
    500: '#c254bf',
    950: '#000000',
  },
}
SCSS
$custom: #c254bf;
$custom-light: #d78ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#c254bf",
  "rgb": {
    "r": 194,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 301.636,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62405,
    "c": 0.19003,
    "h": 328.6
  },
  "luminance": 0.21572
}

Semantic roles & 50–950 ramp

primary
#C254BF
secondary
#A2D0A3
accent
#D75451
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C254BF

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

Preview Lab → · Contrast checker → · Palette generator →

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