#C291F9#C291F9

#C291F9 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.3% C 0.153 H 304.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#C291F9
RGBrgb(194, 145, 249)
HSLhsl(268, 90%, 77%)
HSVhsv(268, 42%, 98%)
CMYKcmyk(22.1%, 41.8%, 0%, 2.4%)
CIE-LABlab(68.43, 38.27, -45.16)
CIE-LCHlch(68.43, 59.19, 310.27°)
OKLaboklab(74.33% 0.087 -0.1258)
OKLCHoklch(74.33% 0.153 304.7)
XYZxyz(49.4689, 38.5599, 94.4409)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C291F9 #C8F991
analogous
#9194F9 #C291F9 #F691F9
triadic
#C291F9 #F9C291 #91F9C2
tetradic
#C291F9 #F99194 #C8F991 #91F9F6
square
#C291F9 #F99194 #C8F991 #91F9F6
split-complementary
#C291F9 #F9F691 #94F991
monochromatic
#821DF3 #A257F6 #C291F9 #E2CBFC #EFE2FD

Accessibility & contrast

On white

2.41
#C291F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#C291F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C291F9
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C291F9#FFFFFF#000000##000000
##C291F91.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FD
Deuteranopia (green-blind)
#83A7F6
Tritanopia (blue-blind)
#B9A2B9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c291f9;
/* rgb */ color: rgb(194, 145, 249);
/* oklch */ color: oklch(74.3% 0.153 304.7);
Tailwind
colors: {
  custom: {
    50: '#d6b2fb',
    500: '#c291f9',
    950: '#000000',
  },
}
SCSS
$custom: #c291f9;
$custom-light: #d6b2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c291f9",
  "rgb": {
    "r": 194,
    "g": 145,
    "b": 249
  },
  "hsl": {
    "h": 268.269,
    "s": 89.655,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74332,
    "c": 0.15297,
    "h": 304.7
  },
  "luminance": 0.3856
}

Semantic roles & 50–950 ramp

primary
#C291F9
secondary
#E6F6D5
accent
#E60079
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C291F9

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

Preview Lab → · Contrast checker → · Palette generator →

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