#C291FE#C291FE

#C291FE is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.6% C 0.159 H 303.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#C291FE
RGBrgb(194, 145, 254)
HSLhsl(267, 98%, 78%)
HSVhsv(267, 43%, 100%)
CMYKcmyk(23.6%, 42.9%, 0%, 0.4%)
CIE-LABlab(68.66, 39.40, -47.53)
CIE-LCHlch(68.66, 61.74, 309.66°)
OKLaboklab(74.58% 0.0878 -0.1327)
OKLCHoklch(74.58% 0.159 303.5)
XYZxyz(50.2591, 38.8760, 98.6028)
Luminance0.3888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C291FE #CDFE91
analogous
#9196FE #C291FE #F891FE
triadic
#C291FE #FEC291 #91FEC2
tetradic
#C291FE #FE9196 #CDFE91 #91FEF8
square
#C291FE #FE9196 #CDFE91 #91FEF8
split-complementary
#C291FE #FEF891 #96FE91
monochromatic
#7F18FD #A054FD #C291FE #E4CEFF #EEE1FF

Accessibility & contrast

On white

2.39
#C291FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#C291FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C291FE
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C291FE#FFFFFF#000000##000000
##C291FE1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#80A7FB
Tritanopia (blue-blind)
#B8A3BB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c291fe;
/* rgb */ color: rgb(194, 145, 254);
/* oklch */ color: oklch(74.6% 0.159 303.5);
Tailwind
colors: {
  custom: {
    50: '#d6b2ff',
    500: '#c291fe',
    950: '#000000',
  },
}
SCSS
$custom: #c291fe;
$custom-light: #d6b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c291fe",
  "rgb": {
    "r": 194,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 266.972,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7458,
    "c": 0.1591,
    "h": 303.5
  },
  "luminance": 0.38876
}

Semantic roles & 50–950 ramp

primary
#C291FE
secondary
#E7F7D4
accent
#E6007E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C291FE

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

Preview Lab → · Contrast checker → · Palette generator →

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