#C291F8#C291F8

#C291F8 is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.3% C 0.152 H 304.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#C291F8
RGBrgb(194, 145, 248)
HSLhsl(269, 88%, 77%)
HSVhsv(269, 42%, 97%)
CMYKcmyk(21.8%, 41.5%, 0%, 2.7%)
CIE-LABlab(68.39, 38.04, -44.69)
CIE-LCHlch(68.39, 58.69, 310.40°)
OKLaboklab(74.28% 0.0868 -0.1244)
OKLCHoklch(74.28% 0.152 304.9)
XYZxyz(49.3133, 38.4977, 93.6216)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C291F8 #C7F891
analogous
#9194F8 #C291F8 #F691F8
triadic
#C291F8 #F8C291 #91F8C2
tetradic
#C291F8 #F89194 #C7F891 #91F8F6
square
#C291F8 #F89194 #C7F891 #91F8F6
split-complementary
#C291F8 #F8F691 #94F891
monochromatic
#821EF1 #A257F4 #C291F8 #E2CBFC #EFE2FD

Accessibility & contrast

On white

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

On black

8.70
#C291F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C291F8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C291F8#FFFFFF#000000##000000
##C291F81.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#83A7F5
Tritanopia (blue-blind)
#B9A2B9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c291f8;
/* rgb */ color: rgb(194, 145, 248);
/* oklch */ color: oklch(74.3% 0.152 304.9);
Tailwind
colors: {
  custom: {
    50: '#d6b2fb',
    500: '#c291f8',
    950: '#000000',
  },
}
SCSS
$custom: #c291f8;
$custom-light: #d6b2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c291f8",
  "rgb": {
    "r": 194,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 268.544,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74283,
    "c": 0.15174,
    "h": 304.9
  },
  "luminance": 0.38497
}

Semantic roles & 50–950 ramp

primary
#C291F8
secondary
#E6F5D6
accent
#E50178
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C291F8

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

Preview Lab → · Contrast checker → · Palette generator →

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