#C27AF2#C27AF2

#C27AF2 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.3% C 0.182 H 310.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C27AF2
RGBrgb(194, 122, 242)
HSLhsl(276, 82%, 71%)
HSVhsv(276, 50%, 95%)
CMYKcmyk(19.8%, 49.6%, 0%, 5.1%)
CIE-LABlab(63.18, 49.08, -49.60)
CIE-LCHlch(63.18, 69.78, 314.70°)
OKLaboklab(70.3% 0.1172 -0.1386)
OKLCHoklch(70.3% 0.182 310.2)
XYZxyz(45.2317, 31.8000, 87.7424)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27AF2 #AAF27A
analogous
#867AF2 #C27AF2 #F27AE6
triadic
#C27AF2 #F2C27A #7AF2C2
tetradic
#C27AF2 #F2867A #AAF27A #7AE6F2
square
#C27AF2 #F2867A #AAF27A #7AE6F2
split-complementary
#C27AF2 #E6F27A #7AF286
monochromatic
#8D16DC #A842ED #C27AF2 #DCB2F7 #F2E3FC

Accessibility & contrast

On white

2.85
#C27AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#C27AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27AF2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27AF2#FFFFFF#000000##000000
##C27AF21.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#BC8EAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c27af2;
/* rgb */ color: rgb(194, 122, 242);
/* oklch */ color: oklch(70.3% 0.182 310.2);
Tailwind
colors: {
  custom: {
    50: '#d7a2f7',
    500: '#c27af2',
    950: '#000000',
  },
}
SCSS
$custom: #c27af2;
$custom-light: #d7a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c27af2",
  "rgb": {
    "r": 194,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 276,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70295,
    "c": 0.18152,
    "h": 310.2
  },
  "luminance": 0.31799
}

Semantic roles & 50–950 ramp

primary
#C27AF2
secondary
#E1F3D4
accent
#DF075D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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