#C291F2#C291F2

#C291F2 is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.0% C 0.144 H 306.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#C291F2
RGBrgb(194, 145, 242)
HSLhsl(270, 79%, 76%)
HSVhsv(270, 40%, 95%)
CMYKcmyk(19.8%, 40.1%, 0%, 5.1%)
CIE-LABlab(68.12, 36.69, -41.83)
CIE-LCHlch(68.12, 55.64, 311.26°)
OKLaboklab(73.99% 0.0858 -0.1162)
OKLCHoklch(73.99% 0.144 306.4)
XYZxyz(48.3974, 38.1313, 88.7976)
Luminance0.3813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C291F2 #C1F291
analogous
#9191F2 #C291F2 #F291F2
triadic
#C291F2 #F2C291 #91F2C2
tetradic
#C291F2 #F29191 #C1F291 #91F2F2
square
#C291F2 #F29191 #C1F291 #91F2F2
split-complementary
#C291F2 #F2F291 #91F291
monochromatic
#8524E5 #A45AEC #C291F2 #E0C8F8 #F0E4FC

Accessibility & contrast

On white

2.43
#C291F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#C291F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C291F2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C291F2#FFFFFF#000000##000000
##C291F21.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#BBA0B6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c291f2;
/* rgb */ color: rgb(194, 145, 242);
/* oklch */ color: oklch(74.0% 0.144 306.4);
Tailwind
colors: {
  custom: {
    50: '#d6b2f6',
    500: '#c291f2',
    950: '#000000',
  },
}
SCSS
$custom: #c291f2;
$custom-light: #d6b2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c291f2",
  "rgb": {
    "r": 194,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 270.309,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73992,
    "c": 0.1444,
    "h": 306.4
  },
  "luminance": 0.38131
}

Semantic roles & 50–950 ramp

primary
#C291F2
secondary
#E5F4D7
accent
#DB0A72
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #C291F2

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

Preview Lab → · Contrast checker → · Palette generator →

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