#C277F9#C277F9

#C277F9 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.2% C 0.194 H 308.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#C277F9
RGBrgb(194, 119, 249)
HSLhsl(275, 92%, 72%)
HSVhsv(275, 52%, 98%)
CMYKcmyk(22.1%, 52.2%, 0%, 2.4%)
CIE-LABlab(62.93, 52.18, -53.85)
CIE-LCHlch(62.93, 74.98, 314.09°)
OKLaboklab(70.23% 0.1217 -0.151)
OKLCHoklch(70.23% 0.194 308.9)
XYZxyz(45.9405, 31.5032, 93.2647)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C277F9 #AEF977
analogous
#8177F9 #C277F9 #F977EF
triadic
#C277F9 #F9C277 #77F9C2
tetradic
#C277F9 #F98177 #AEF977 #77EFF9
square
#C277F9 #F98177 #AEF977 #77EFF9
split-complementary
#C277F9 #EFF977 #77F981
monochromatic
#8C0AEB #A83CF6 #C277F9 #DCB2FC #F2E2FE

Accessibility & contrast

On white

2.88
#C277F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#C277F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C277F9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C277F9#FFFFFF#000000##000000
##C277F91.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FD
Deuteranopia (green-blind)
#6999F6
Tritanopia (blue-blind)
#BA8EAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c277f9;
/* rgb */ color: rgb(194, 119, 249);
/* oklch */ color: oklch(70.2% 0.194 308.9);
Tailwind
colors: {
  custom: {
    50: '#d7a0fc',
    500: '#c277f9',
    950: '#000000',
  },
}
SCSS
$custom: #c277f9;
$custom-light: #d7a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c277f9",
  "rgb": {
    "r": 194,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 274.615,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70228,
    "c": 0.19395,
    "h": 308.9
  },
  "luminance": 0.31503
}

Semantic roles & 50–950 ramp

primary
#C277F9
secondary
#E3F6D5
accent
#E60061
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C277F9

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

Preview Lab → · Contrast checker → · Palette generator →

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