#C27BF1#C27BF1

#C27BF1 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.4% C 0.179 H 310.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#C27BF1
RGBrgb(194, 123, 241)
HSLhsl(276, 81%, 71%)
HSVhsv(276, 49%, 95%)
CMYKcmyk(19.5%, 49%, 0%, 5.5%)
CIE-LABlab(63.33, 48.34, -48.80)
CIE-LCHlch(63.33, 68.69, 314.73°)
OKLaboklab(70.39% 0.1158 -0.1363)
OKLCHoklch(70.39% 0.179 310.3)
XYZxyz(45.2053, 31.9869, 86.9947)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27BF1 #AAF17B
analogous
#877BF1 #C27BF1 #F17BE5
triadic
#C27BF1 #F1C27B #7BF1C2
tetradic
#C27BF1 #F1877B #AAF17B #7BE5F1
square
#C27BF1 #F1877B #AAF17B #7BE5F1
split-complementary
#C27BF1 #E5F17B #7BF187
monochromatic
#8D17DA #A844EB #C27BF1 #DCB2F7 #F2E3FC

Accessibility & contrast

On white

2.84
#C27BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#C27BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27BF1
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27BF1#FFFFFF#000000##000000
##C27BF11.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F5
Deuteranopia (green-blind)
#729BEE
Tritanopia (blue-blind)
#BC8EAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c27bf1;
/* rgb */ color: rgb(194, 123, 241);
/* oklch */ color: oklch(70.4% 0.179 310.3);
Tailwind
colors: {
  custom: {
    50: '#d7a3f6',
    500: '#c27bf1',
    950: '#000000',
  },
}
SCSS
$custom: #c27bf1;
$custom-light: #d7a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c27bf1",
  "rgb": {
    "r": 194,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 276.102,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70393,
    "c": 0.17882,
    "h": 310.3
  },
  "luminance": 0.31986
}

Semantic roles & 50–950 ramp

primary
#C27BF1
secondary
#E1F3D5
accent
#DD085D
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C27BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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