#C254DB#C254DB

#C254DB is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.9% C 0.215 H 319.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C254DB
RGBrgb(194, 84, 219)
HSLhsl(289, 65%, 59%)
HSVhsv(289, 62%, 86%)
CMYKcmyk(11.4%, 61.6%, 0%, 14.1%)
CIE-LABlab(55.00, 62.98, -49.73)
CIE-LCHlch(55.00, 80.24, 321.71°)
OKLaboklab(63.91% 0.1641 -0.1388)
OKLCHoklch(63.91% 0.215 319.8)
XYZxyz(38.2030, 22.9262, 69.4170)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C254DB #6DDB54
analogous
#7F54DB #C254DB #DB54B1
triadic
#C254DB #DBC254 #54DBC2
tetradic
#C254DB #DB7F54 #6DDB54 #54B1DB
square
#C254DB #DB7F54 #6DDB54 #54B1DB
split-complementary
#C254DB #B1DB54 #54DB7F
monochromatic
#7F1F95 #AB2AC8 #C254DB #D487E6 #E6B9F0

Accessibility & contrast

On white

3.76
#C254DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#C254DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C254DB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C254DB#FFFFFF#000000##000000
##C254DB1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDF
Deuteranopia (green-blind)
#5E88D8
Tritanopia (blue-blind)
#C36A90
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c254db;
/* rgb */ color: rgb(194, 84, 219);
/* oklch */ color: oklch(63.9% 0.215 319.8);
Tailwind
colors: {
  custom: {
    50: '#d88be7',
    500: '#c254db',
    950: '#000000',
  },
}
SCSS
$custom: #c254db;
$custom-light: #d88be7;
$custom-dark: #000000;
JSON
{
  "hex": "#c254db",
  "rgb": {
    "r": 194,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 288.889,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63905,
    "c": 0.2149,
    "h": 319.8
  },
  "luminance": 0.22924
}

Semantic roles & 50–950 ramp

primary
#C254DB
secondary
#B5E0AB
accent
#E8405F
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C254DB

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

Preview Lab → · Contrast checker → · Palette generator →

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