#C255E7#C255E7

#C255E7 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.225 H 316.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#C255E7
RGBrgb(194, 85, 231)
HSLhsl(285, 75%, 62%)
HSVhsv(285, 63%, 91%)
CMYKcmyk(16%, 63.2%, 0%, 9.4%)
CIE-LABlab(55.82, 64.85, -55.17)
CIE-LCHlch(55.82, 85.14, 319.61°)
OKLaboklab(64.72% 0.163 -0.1547)
OKLCHoklch(64.72% 0.225 316.5)
XYZxyz(39.9183, 23.7374, 78.0648)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C255E7 #7AE755
analogous
#7955E7 #C255E7 #E755C3
triadic
#C255E7 #E7C255 #55E7C2
tetradic
#C255E7 #E77955 #7AE755 #55C3E7
square
#C255E7 #E77955 #7AE755 #55C3E7
split-complementary
#C255E7 #C3E755 #55E779
monochromatic
#8518AA #AF20DF #C255E7 #D58BEF #E8C0F6

Accessibility & contrast

On white

3.65
#C255E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#C255E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C255E7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C255E7#FFFFFF#000000##000000
##C255E71.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7FEB
Deuteranopia (green-blind)
#5689E3
Tritanopia (blue-blind)
#C06F97
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c255e7;
/* rgb */ color: rgb(194, 85, 231);
/* oklch */ color: oklch(64.7% 0.225 316.5);
Tailwind
colors: {
  custom: {
    50: '#d88cef',
    500: '#c255e7',
    950: '#000000',
  },
}
SCSS
$custom: #c255e7;
$custom-light: #d88cef;
$custom-dark: #000000;
JSON
{
  "hex": "#c255e7",
  "rgb": {
    "r": 194,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 284.795,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64719,
    "c": 0.22467,
    "h": 316.5
  },
  "luminance": 0.23736
}

Semantic roles & 50–950 ramp

primary
#C255E7
secondary
#BFE7B1
accent
#D70E41
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C255E7

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

Preview Lab → · Contrast checker → · Palette generator →

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