#C27BFB#C27BFB

#C27BFB is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.9% C 0.190 H 307.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#C27BFB
RGBrgb(194, 123, 251)
HSLhsl(273, 94%, 73%)
HSVhsv(273, 51%, 98%)
CMYKcmyk(22.7%, 51%, 0%, 1.6%)
CIE-LABlab(63.84, 50.54, -53.51)
CIE-LCHlch(63.84, 73.60, 313.36°)
OKLaboklab(70.93% 0.1167 -0.15)
OKLCHoklch(70.93% 0.19 307.9)
XYZxyz(46.7402, 32.6009, 95.0784)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27BFB #B4FB7B
analogous
#827BFB #C27BFB #FB7BF4
triadic
#C27BFB #FBC27B #7BFBC2
tetradic
#C27BFB #FB827B #B4FB7B #7BF4FB
square
#C27BFB #FB827B #B4FB7B #7BF4FB
split-complementary
#C27BFB #F4FB7B #7BFB82
monochromatic
#8B07F4 #A740F9 #C27BFB #DDB6FD #F1E1FE

Accessibility & contrast

On white

2.79
#C27BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#C27BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C27BFB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27BFB#FFFFFF#000000##000000
##C27BFB1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#6C9BF8
Tritanopia (blue-blind)
#BA91B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c27bfb;
/* rgb */ color: rgb(194, 123, 251);
/* oklch */ color: oklch(70.9% 0.190 307.9);
Tailwind
colors: {
  custom: {
    50: '#d7a3fd',
    500: '#c27bfb',
    950: '#000000',
  },
}
SCSS
$custom: #c27bfb;
$custom-light: #d7a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c27bfb",
  "rgb": {
    "r": 194,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 273.281,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70931,
    "c": 0.19007,
    "h": 307.9
  },
  "luminance": 0.326
}

Semantic roles & 50–950 ramp

primary
#C27BFB
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C27BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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