#C27EF2#C27EF2

#C27EF2 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.9% C 0.175 H 309.7°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#C27EF2
RGBrgb(194, 126, 242)
HSLhsl(275, 82%, 72%)
HSVhsv(275, 48%, 95%)
CMYKcmyk(19.8%, 47.9%, 0%, 5.1%)
CIE-LABlab(64.00, 46.97, -48.30)
CIE-LCHlch(64.00, 67.37, 314.20°)
OKLaboklab(70.91% 0.1118 -0.1348)
OKLCHoklch(70.91% 0.175 309.7)
XYZxyz(45.7330, 32.8026, 87.9095)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27EF2 #AEF27E
analogous
#887EF2 #C27EF2 #F27EE8
triadic
#C27EF2 #F2C27E #7EF2C2
tetradic
#C27EF2 #F2887E #AEF27E #7EE8F2
square
#C27EF2 #F2887E #AEF27E #7EE8F2
split-complementary
#C27EF2 #E8F27E #7EF288
monochromatic
#8C16DF #A846EC #C27EF2 #DCB6F8 #F2E3FC

Accessibility & contrast

On white

2.78
#C27EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#C27EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27EF2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27EF2#FFFFFF#000000##000000
##C27EF21.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#BC91AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c27ef2;
/* rgb */ color: rgb(194, 126, 242);
/* oklch */ color: oklch(70.9% 0.175 309.7);
Tailwind
colors: {
  custom: {
    50: '#d7a5f7',
    500: '#c27ef2',
    950: '#000000',
  },
}
SCSS
$custom: #c27ef2;
$custom-light: #d7a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c27ef2",
  "rgb": {
    "r": 194,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 275.172,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.17519,
    "h": 309.7
  },
  "luminance": 0.32802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C27EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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