#C291EB#C291EB

#C291EB is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.7% C 0.136 H 308.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#C291EB
RGBrgb(194, 145, 235)
HSLhsl(273, 69%, 75%)
HSVhsv(273, 38%, 92%)
CMYKcmyk(17.4%, 38.3%, 0%, 7.8%)
CIE-LABlab(67.81, 35.15, -38.46)
CIE-LCHlch(67.81, 52.10, 312.42°)
OKLaboklab(73.66% 0.0844 -0.1065)
OKLCHoklch(73.66% 0.136 308.4)
XYZxyz(47.3661, 37.7188, 83.3663)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C291EB #BAEB91
analogous
#9591EB #C291EB #EB91E7
triadic
#C291EB #EBC291 #91EBC2
tetradic
#C291EB #EB9591 #BAEB91 #91E7EB
square
#C291EB #EB9591 #BAEB91 #91E7EB
split-complementary
#C291EB #E7EB91 #91EB95
monochromatic
#8929D8 #A55DE2 #C291EB #DFC5F4 #F1E5FA

Accessibility & contrast

On white

2.46
#C291EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#C291EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C291EB
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C291EB#FFFFFF#000000##000000
##C291EB1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#BD9EB3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c291eb;
/* rgb */ color: rgb(194, 145, 235);
/* oklch */ color: oklch(73.7% 0.136 308.4);
Tailwind
colors: {
  custom: {
    50: '#d6b2f1',
    500: '#c291eb',
    950: '#000000',
  },
}
SCSS
$custom: #c291eb;
$custom-light: #d6b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c291eb",
  "rgb": {
    "r": 194,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 272.667,
    "s": 69.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73662,
    "c": 0.13586,
    "h": 308.4
  },
  "luminance": 0.37718
}

Semantic roles & 50–950 ramp

primary
#C291EB
secondary
#E4F2D9
accent
#D1146A
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C291EB

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

Preview Lab → · Contrast checker → · Palette generator →

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