#C254F5#C254F5

#C254F5 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.5% C 0.239 H 313.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#C254F5
RGBrgb(194, 84, 245)
HSLhsl(281, 89%, 65%)
HSVhsv(281, 66%, 96%)
CMYKcmyk(20.8%, 65.7%, 0%, 3.9%)
CIE-LABlab(56.49, 68.07, -61.93)
CIE-LCHlch(56.49, 92.02, 317.71°)
OKLaboklab(65.46% 0.1635 -0.1744)
OKLCHoklch(65.46% 0.239 313.1)
XYZxyz(41.8970, 24.4038, 88.8719)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C254F5 #87F554
analogous
#7254F5 #C254F5 #F554D7
triadic
#C254F5 #F5C254 #54F5C2
tetradic
#C254F5 #F57254 #87F554 #54D7F5
square
#C254F5 #F57254 #87F554 #54D7F5
split-complementary
#C254F5 #D7F554 #54F572
monochromatic
#890BC3 #AD1AF2 #C254F5 #D78EF8 #EBC8FC

Accessibility & contrast

On white

3.57
#C254F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#C254F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C254F5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C254F5#FFFFFF#000000##000000
##C254F51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#498AF1
Tritanopia (blue-blind)
#BD749E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c254f5;
/* rgb */ color: rgb(194, 84, 245);
/* oklch */ color: oklch(65.5% 0.239 313.1);
Tailwind
colors: {
  custom: {
    50: '#d98bf9',
    500: '#c254f5',
    950: '#000000',
  },
}
SCSS
$custom: #c254f5;
$custom-light: #d98bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#c254f5",
  "rgb": {
    "r": 194,
    "g": 84,
    "b": 245
  },
  "hsl": {
    "h": 280.994,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65462,
    "c": 0.23909,
    "h": 313.1
  },
  "luminance": 0.24403
}

Semantic roles & 50–950 ramp

primary
#C254F5
secondary
#C8EEB7
accent
#E60049
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #C254F5

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

Preview Lab → · Contrast checker → · Palette generator →

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