#C27AFA#C27AFA

#C27AFA is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.7% C 0.190 H 308.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C27AFA
RGBrgb(194, 122, 250)
HSLhsl(274, 93%, 73%)
HSVhsv(274, 51%, 98%)
CMYKcmyk(22.4%, 51.2%, 0%, 2%)
CIE-LABlab(63.58, 50.84, -53.37)
CIE-LCHlch(63.58, 73.71, 313.61°)
OKLaboklab(70.73% 0.1179 -0.1496)
OKLCHoklch(70.73% 0.19 308.3)
XYZxyz(46.4596, 32.2911, 94.2093)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27AFA #B2FA7A
analogous
#827AFA #C27AFA #FA7AF2
triadic
#C27AFA #FAC27A #7AFAC2
tetradic
#C27AFA #FA827A #B2FA7A #7AF2FA
square
#C27AFA #FA827A #B2FA7A #7AF2FA
split-complementary
#C27AFA #F2FA7A #7AFA82
monochromatic
#8B09F1 #A73FF8 #C27AFA #DDB5FC #F1E2FE

Accessibility & contrast

On white

2.82
#C27AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#C27AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27AFA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27AFA#FFFFFF#000000##000000
##C27AFA1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#BA90AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c27afa;
/* rgb */ color: rgb(194, 122, 250);
/* oklch */ color: oklch(70.7% 0.190 308.3);
Tailwind
colors: {
  custom: {
    50: '#d7a2fc',
    500: '#c27afa',
    950: '#000000',
  },
}
SCSS
$custom: #c27afa;
$custom-light: #d7a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c27afa",
  "rgb": {
    "r": 194,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 273.75,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70727,
    "c": 0.19048,
    "h": 308.3
  },
  "luminance": 0.32291
}

Semantic roles & 50–950 ramp

primary
#C27AFA
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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