#C477F8#C477F8

#C477F8 is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.4% C 0.194 H 309.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#C477F8
RGBrgb(196, 119, 248)
HSLhsl(276, 90%, 72%)
HSVhsv(276, 52%, 97%)
CMYKcmyk(21%, 52%, 0%, 2.7%)
CIE-LABlab(63.10, 52.47, -53.02)
CIE-LCHlch(63.10, 74.59, 314.70°)
OKLaboklab(70.39% 0.1241 -0.1485)
OKLCHoklch(70.39% 0.194 309.9)
XYZxyz(46.3019, 31.7075, 92.4697)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C477F8 #ABF877
analogous
#8477F8 #C477F8 #F877EC
triadic
#C477F8 #F8C477 #77F8C4
tetradic
#C477F8 #F88477 #ABF877 #77ECF8
square
#C477F8 #F88477 #ABF877 #77ECF8
split-complementary
#C477F8 #ECF877 #77F884
monochromatic
#900CE9 #AB3DF5 #C477F8 #DDB1FB #F2E2FE

Accessibility & contrast

On white

2.86
#C477F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#C477F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C477F8
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C477F8#FFFFFF#000000##000000
##C477F81.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#BD8DAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c477f8;
/* rgb */ color: rgb(196, 119, 248);
/* oklch */ color: oklch(70.4% 0.194 309.9);
Tailwind
colors: {
  custom: {
    50: '#d8a1fb',
    500: '#c477f8',
    950: '#000000',
  },
}
SCSS
$custom: #c477f8;
$custom-light: #d8a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c477f8",
  "rgb": {
    "r": 196,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 275.814,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70386,
    "c": 0.19351,
    "h": 309.9
  },
  "luminance": 0.31707
}

Semantic roles & 50–950 ramp

primary
#C477F8
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C477F8

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

Preview Lab → · Contrast checker → · Palette generator →

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