#C291FA#C291FA

#C291FA is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.4% C 0.154 H 304.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#C291FA
RGBrgb(194, 145, 250)
HSLhsl(268, 91%, 77%)
HSVhsv(268, 42%, 98%)
CMYKcmyk(22.4%, 42%, 0%, 2%)
CIE-LABlab(68.48, 38.49, -45.64)
CIE-LCHlch(68.48, 59.70, 310.14°)
OKLaboklab(74.38% 0.0872 -0.1272)
OKLCHoklch(74.38% 0.154 304.4)
XYZxyz(49.6252, 38.6224, 95.2645)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C291FA #C9FA91
analogous
#9195FA #C291FA #F691FA
triadic
#C291FA #FAC291 #91FAC2
tetradic
#C291FA #FA9195 #C9FA91 #91FAF6
square
#C291FA #FA9195 #C9FA91 #91FAF6
split-complementary
#C291FA #FAF691 #95FA91
monochromatic
#811CF5 #A256F7 #C291FA #E2CCFD #EFE2FE

Accessibility & contrast

On white

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

On black

8.72
#C291FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C291FA
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C291FA#FFFFFF#000000##000000
##C291FA1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#B9A2BA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c291fa;
/* rgb */ color: rgb(194, 145, 250);
/* oklch */ color: oklch(74.4% 0.154 304.4);
Tailwind
colors: {
  custom: {
    50: '#d6b2fc',
    500: '#c291fa',
    950: '#000000',
  },
}
SCSS
$custom: #c291fa;
$custom-light: #d6b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c291fa",
  "rgb": {
    "r": 194,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 268,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74381,
    "c": 0.15419,
    "h": 304.4
  },
  "luminance": 0.38622
}

Semantic roles & 50–950 ramp

primary
#C291FA
secondary
#E7F6D5
accent
#E6007A
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C291FA

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

Preview Lab → · Contrast checker → · Palette generator →

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