#C291EF#C291EF

#C291EF is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.9% C 0.141 H 307.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C291EF
RGBrgb(194, 145, 239)
HSLhsl(271, 75%, 75%)
HSVhsv(271, 39%, 94%)
CMYKcmyk(18.8%, 39.3%, 0%, 6.3%)
CIE-LABlab(67.99, 36.03, -40.39)
CIE-LCHlch(67.99, 54.12, 311.73°)
OKLaboklab(73.85% 0.0852 -0.112)
OKLCHoklch(73.85% 0.141 307.3)
XYZxyz(47.9505, 37.9525, 86.4441)
Luminance0.3795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C291EF #BEEF91
analogous
#9391EF #C291EF #EF91ED
triadic
#C291EF #EFC291 #91EFC2
tetradic
#C291EF #EF9391 #BEEF91 #91EDEF
square
#C291EF #EF9391 #BEEF91 #91EDEF
split-complementary
#C291EF #EDEF91 #91EF93
monochromatic
#8726DF #A45CE7 #C291EF #E0C6F7 #F0E4FB

Accessibility & contrast

On white

2.44
#C291EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C291EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C291EF
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C291EF#FFFFFF#000000##000000
##C291EF1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#BC9FB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c291ef;
/* rgb */ color: rgb(194, 145, 239);
/* oklch */ color: oklch(73.9% 0.141 307.3);
Tailwind
colors: {
  custom: {
    50: '#d6b2f4',
    500: '#c291ef',
    950: '#000000',
  },
}
SCSS
$custom: #c291ef;
$custom-light: #d6b2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c291ef",
  "rgb": {
    "r": 194,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 271.277,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7385,
    "c": 0.14073,
    "h": 307.3
  },
  "luminance": 0.37952
}

Semantic roles & 50–950 ramp

primary
#C291EF
secondary
#E5F3D8
accent
#D70F6E
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C291EF

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

Preview Lab → · Contrast checker → · Palette generator →

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