#C254ED#C254ED

#C254ED is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.232 H 315.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C254ED
RGBrgb(194, 84, 237)
HSLhsl(283, 81%, 63%)
HSVhsv(283, 65%, 93%)
CMYKcmyk(18.1%, 64.6%, 0%, 7.1%)
CIE-LABlab(56.01, 66.47, -58.23)
CIE-LCHlch(56.01, 88.37, 318.78°)
OKLaboklab(64.97% 0.1639 -0.1636)
OKLCHoklch(64.97% 0.232 315.1)
XYZxyz(40.7021, 23.9258, 82.5784)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C254ED #7FED54
analogous
#7554ED #C254ED #ED54CC
triadic
#C254ED #EDC254 #54EDC2
tetradic
#C254ED #ED7554 #7FED54 #54CCED
square
#C254ED #ED7554 #7FED54 #54CCED
split-complementary
#C254ED #CCED54 #54ED75
monochromatic
#8713B4 #AE1DE7 #C254ED #D68BF3 #EAC3F9

Accessibility & contrast

On white

3.63
#C254ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#C254ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C254ED
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C254ED#FFFFFF#000000##000000
##C254ED1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0780F2
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#BF719A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c254ed;
/* rgb */ color: rgb(194, 84, 237);
/* oklch */ color: oklch(65.0% 0.232 315.1);
Tailwind
colors: {
  custom: {
    50: '#d88bf3',
    500: '#c254ed',
    950: '#000000',
  },
}
SCSS
$custom: #c254ed;
$custom-light: #d88bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c254ed",
  "rgb": {
    "r": 194,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 283.137,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64967,
    "c": 0.23158,
    "h": 315.1
  },
  "luminance": 0.23924
}

Semantic roles & 50–950 ramp

primary
#C254ED
secondary
#C2EAB3
accent
#DD0844
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C254ED

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

Preview Lab → · Contrast checker → · Palette generator →

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