#C27AED#C27AED

#C27AED is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.0% C 0.176 H 311.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#C27AED
RGBrgb(194, 122, 237)
HSLhsl(278, 76%, 70%)
HSVhsv(278, 49%, 93%)
CMYKcmyk(18.1%, 48.5%, 0%, 7.1%)
CIE-LABlab(62.93, 48.01, -47.23)
CIE-LCHlch(62.93, 67.34, 315.47°)
OKLaboklab(70.03% 0.1167 -0.1317)
OKLCHoklch(70.03% 0.176 311.5)
XYZxyz(44.4910, 31.5037, 83.8414)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27AED #A5ED7A
analogous
#887AED #C27AED #ED7ADF
triadic
#C27AED #EDC27A #7AEDC2
tetradic
#C27AED #ED887A #A5ED7A #7ADFED
square
#C27AED #ED887A #A5ED7A #7ADFED
split-complementary
#C27AED #DFED7A #7AED88
monochromatic
#8D1CD0 #A944E6 #C27AED #DBB0F4 #F3E4FB

Accessibility & contrast

On white

2.88
#C27AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#C27AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27AED
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27AED#FFFFFF#000000##000000
##C27AED1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F1
Deuteranopia (green-blind)
#739AEA
Tritanopia (blue-blind)
#BD8CA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c27aed;
/* rgb */ color: rgb(194, 122, 237);
/* oklch */ color: oklch(70.0% 0.176 311.5);
Tailwind
colors: {
  custom: {
    50: '#d7a2f3',
    500: '#c27aed',
    950: '#000000',
  },
}
SCSS
$custom: #c27aed;
$custom-light: #d7a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c27aed",
  "rgb": {
    "r": 194,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 277.565,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70031,
    "c": 0.17593,
    "h": 311.5
  },
  "luminance": 0.31503
}

Semantic roles & 50–950 ramp

primary
#C27AED
secondary
#DDF1D2
accent
#D80D59
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27AED

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

Preview Lab → · Contrast checker → · Palette generator →

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