#C27FF2#C27FF2

#C27FF2 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.1% C 0.174 H 309.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#C27FF2
RGBrgb(194, 127, 242)
HSLhsl(275, 82%, 72%)
HSVhsv(275, 48%, 95%)
CMYKcmyk(19.8%, 47.5%, 0%, 5.1%)
CIE-LABlab(64.21, 46.44, -47.97)
CIE-LCHlch(64.21, 66.77, 314.07°)
OKLaboklab(71.06% 0.1105 -0.1339)
OKLCHoklch(71.06% 0.174 309.5)
XYZxyz(45.8615, 33.0596, 87.9523)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27FF2 #AFF27F
analogous
#897FF2 #C27FF2 #F27FE8
triadic
#C27FF2 #F2C27F #7FF2C2
tetradic
#C27FF2 #F2897F #AFF27F #7FE8F2
square
#C27FF2 #F2897F #AFF27F #7FE8F2
split-complementary
#C27FF2 #E8F27F #7FF289
monochromatic
#8C17E0 #A847EC #C27FF2 #DCB7F8 #F2E3FC

Accessibility & contrast

On white

2.76
#C27FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#C27FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27FF2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27FF2#FFFFFF#000000##000000
##C27FF21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#BC92AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c27ff2;
/* rgb */ color: rgb(194, 127, 242);
/* oklch */ color: oklch(71.1% 0.174 309.5);
Tailwind
colors: {
  custom: {
    50: '#d7a6f7',
    500: '#c27ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c27ff2;
$custom-light: #d7a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c27ff2",
  "rgb": {
    "r": 194,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 274.957,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71061,
    "c": 0.1736,
    "h": 309.5
  },
  "luminance": 0.33059
}

Semantic roles & 50–950 ramp

primary
#C27FF2
secondary
#E3F4D7
accent
#DE0861
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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