#C27AEB#C27AEB

#C27AEB is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.174 H 312.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#C27AEB
RGBrgb(194, 122, 235)
HSLhsl(278, 74%, 70%)
HSVhsv(278, 48%, 92%)
CMYKcmyk(17.4%, 48.1%, 0%, 7.8%)
CIE-LABlab(62.83, 47.58, -46.27)
CIE-LCHlch(62.83, 66.37, 315.80°)
OKLaboklab(69.93% 0.1164 -0.1289)
OKLCHoklch(69.93% 0.174 312.1)
XYZxyz(44.2004, 31.3875, 82.3111)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27AEB #A3EB7A
analogous
#897AEB #C27AEB #EB7ADC
triadic
#C27AEB #EBC27A #7AEBC2
tetradic
#C27AEB #EB897A #A3EB7A #7ADCEB
square
#C27AEB #EB897A #A3EB7A #7ADCEB
split-complementary
#C27AEB #DCEB7A #7AEB89
monochromatic
#8D1FCC #AA45E3 #C27AEB #DAAFF3 #F3E4FB

Accessibility & contrast

On white

2.89
#C27AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#C27AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27AEB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27AEB#FFFFFF#000000##000000
##C27AEB1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#759AE8
Tritanopia (blue-blind)
#BE8CA8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c27aeb;
/* rgb */ color: rgb(194, 122, 235);
/* oklch */ color: oklch(69.9% 0.174 312.1);
Tailwind
colors: {
  custom: {
    50: '#d6a2f2',
    500: '#c27aeb',
    950: '#000000',
  },
}
SCSS
$custom: #c27aeb;
$custom-light: #d6a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c27aeb",
  "rgb": {
    "r": 194,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 278.23,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.69927,
    "c": 0.17371,
    "h": 312.1
  },
  "luminance": 0.31387
}

Semantic roles & 50–950 ramp

primary
#C27AEB
secondary
#DCF0D1
accent
#D61058
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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