#C27AFD#C27AFD

#C27AFD is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.9% C 0.194 H 307.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#C27AFD
RGBrgb(194, 122, 253)
HSLhsl(273, 97%, 74%)
HSVhsv(273, 52%, 99%)
CMYKcmyk(23.3%, 51.8%, 0%, 0.8%)
CIE-LABlab(63.74, 51.50, -54.77)
CIE-LCHlch(63.74, 75.18, 313.24°)
OKLaboklab(70.89% 0.1182 -0.1537)
OKLCHoklch(70.89% 0.194 307.6)
XYZxyz(46.9337, 32.4808, 96.7064)
Luminance0.3248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27AFD #B5FD7A
analogous
#807AFD #C27AFD #FD7AF7
triadic
#C27AFD #FDC27A #7AFDC2
tetradic
#C27AFD #FD807A #B5FD7A #7AF7FD
square
#C27AFD #FD807A #B5FD7A #7AF7FD
split-complementary
#C27AFD #F7FD7A #7AFD80
monochromatic
#8A04F9 #A63EFC #C27AFD #DEB6FE #F1E1FF

Accessibility & contrast

On white

2.80
#C27AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#C27AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27AFD
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27AFD#FFFFFF#000000##000000
##C27AFD1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#B991B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c27afd;
/* rgb */ color: rgb(194, 122, 253);
/* oklch */ color: oklch(70.9% 0.194 307.6);
Tailwind
colors: {
  custom: {
    50: '#d7a2ff',
    500: '#c27afd',
    950: '#000000',
  },
}
SCSS
$custom: #c27afd;
$custom-light: #d7a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c27afd",
  "rgb": {
    "r": 194,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 272.977,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70892,
    "c": 0.19385,
    "h": 307.6
  },
  "luminance": 0.3248
}

Semantic roles & 50–950 ramp

primary
#C27AFD
secondary
#E4F7D4
accent
#E60067
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C27AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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