#C154E7#C154E7

#C154E7 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.5% C 0.226 H 316.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#C154E7
RGBrgb(193, 84, 231)
HSLhsl(284, 75%, 62%)
HSVhsv(284, 64%, 91%)
CMYKcmyk(16.5%, 63.6%, 0%, 9.4%)
CIE-LABlab(55.53, 65.06, -55.64)
CIE-LCHlch(55.53, 85.61, 319.46°)
OKLaboklab(64.48% 0.1629 -0.1561)
OKLCHoklch(64.48% 0.226 316.2)
XYZxyz(39.5842, 23.4491, 78.0268)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C154E7 #7AE754
analogous
#7854E7 #C154E7 #E754C4
triadic
#C154E7 #E7C154 #54E7C1
tetradic
#C154E7 #E77854 #7AE754 #54C4E7
square
#C154E7 #E77854 #7AE754 #54C4E7
split-complementary
#C154E7 #C4E754 #54E778
monochromatic
#8318A9 #AD1FDF #C154E7 #D48AEF #E8BFF6

Accessibility & contrast

On white

3.69
#C154E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#C154E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C154E7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C154E7#FFFFFF#000000##000000
##C154E71.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7EEB
Deuteranopia (green-blind)
#5588E3
Tritanopia (blue-blind)
#BF6F96
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c154e7;
/* rgb */ color: rgb(193, 84, 231);
/* oklch */ color: oklch(64.5% 0.226 316.2);
Tailwind
colors: {
  custom: {
    50: '#d78bef',
    500: '#c154e7',
    950: '#000000',
  },
}
SCSS
$custom: #c154e7;
$custom-light: #d78bef;
$custom-dark: #000000;
JSON
{
  "hex": "#c154e7",
  "rgb": {
    "r": 193,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 284.49,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6448,
    "c": 0.2256,
    "h": 316.2
  },
  "luminance": 0.23448
}

Semantic roles & 50–950 ramp

primary
#C154E7
secondary
#BEE7B0
accent
#D80E42
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C154E7

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

Preview Lab → · Contrast checker → · Palette generator →

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