#C291FB#C291FB

#C291FB is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.4% C 0.155 H 304.2°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C291FB
RGBrgb(194, 145, 251)
HSLhsl(268, 93%, 78%)
HSVhsv(268, 42%, 98%)
CMYKcmyk(22.7%, 42.2%, 0%, 1.6%)
CIE-LABlab(68.52, 38.72, -46.11)
CIE-LCHlch(68.52, 60.21, 310.02°)
OKLaboklab(74.43% 0.0874 -0.1286)
OKLCHoklch(74.43% 0.155 304.2)
XYZxyz(49.7825, 38.6853, 96.0925)
Luminance0.3869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C291FB #CAFB91
analogous
#9195FB #C291FB #F791FB
triadic
#C291FB #FBC291 #91FBC2
tetradic
#C291FB #FB9195 #CAFB91 #91FBF7
square
#C291FB #FB9195 #CAFB91 #91FBF7
split-complementary
#C291FB #FBF791 #95FB91
monochromatic
#811BF7 #A156F9 #C291FB #E3CCFD #EFE1FE

Accessibility & contrast

On white

2.40
#C291FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#C291FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C291FB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C291FB#FFFFFF#000000##000000
##C291FB1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#B9A2BA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c291fb;
/* rgb */ color: rgb(194, 145, 251);
/* oklch */ color: oklch(74.4% 0.155 304.2);
Tailwind
colors: {
  custom: {
    50: '#d6b2fd',
    500: '#c291fb',
    950: '#000000',
  },
}
SCSS
$custom: #c291fb;
$custom-light: #d6b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c291fb",
  "rgb": {
    "r": 194,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 267.736,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74431,
    "c": 0.15543,
    "h": 304.2
  },
  "luminance": 0.38685
}

Semantic roles & 50–950 ramp

primary
#C291FB
secondary
#E7F6D5
accent
#E6007B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C291FB

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

Preview Lab → · Contrast checker → · Palette generator →

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