#C254FF#C254FF

#C254FF is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 66.1% C 0.249 H 310.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#C254FF
RGBrgb(194, 84, 255)
HSLhsl(279, 100%, 66%)
HSVhsv(279, 67%, 100%)
CMYKcmyk(23.9%, 67.1%, 0%, 0%)
CIE-LABlab(57.11, 70.11, -66.48)
CIE-LCHlch(57.11, 96.62, 316.52°)
OKLaboklab(66.1% 0.1627 -0.1878)
OKLCHoklch(66.1% 0.249 310.9)
XYZxyz(43.4650, 25.0310, 97.1301)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C254FF #91FF54
analogous
#6D54FF #C254FF #FF54E7
triadic
#C254FF #FFC254 #54FFC2
tetradic
#C254FF #FF6D54 #91FF54 #54E7FF
square
#C254FF #FF6D54 #91FF54 #54E7FF
split-complementary
#C254FF #E7FF54 #54FF6D
monochromatic
#8B00D9 #AC17FF #C254FF #D891FF #EECEFF

Accessibility & contrast

On white

3.50
#C254FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#C254FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C254FF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C254FF#FFFFFF#000000##000000
##C254FF1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#3D8BFB
Tritanopia (blue-blind)
#BA78A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c254ff;
/* rgb */ color: rgb(194, 84, 255);
/* oklch */ color: oklch(66.1% 0.249 310.9);
Tailwind
colors: {
  custom: {
    50: '#d98cff',
    500: '#c254ff',
    950: '#000000',
  },
}
SCSS
$custom: #c254ff;
$custom-light: #d98cff;
$custom-dark: #000000;
JSON
{
  "hex": "#c254ff",
  "rgb": {
    "r": 194,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 278.596,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.661,
    "c": 0.24851,
    "h": 310.9
  },
  "luminance": 0.2503
}

Semantic roles & 50–950 ramp

primary
#C254FF
secondary
#CFF3BC
accent
#E60052
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D18
muted
#837D86

Preview Lab

Preview with #C254FF

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

Preview Lab → · Contrast checker → · Palette generator →

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