#C281F7#C281F7

#C281F7 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.6% C 0.176 H 308.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#C281F7
RGBrgb(194, 129, 247)
HSLhsl(273, 88%, 74%)
HSVhsv(273, 48%, 97%)
CMYKcmyk(21.5%, 47.8%, 0%, 3.1%)
CIE-LABlab(64.87, 46.48, -49.68)
CIE-LCHlch(64.87, 68.03, 313.09°)
OKLaboklab(71.64% 0.1084 -0.1388)
OKLCHoklch(71.64% 0.176 308)
XYZxyz(46.8836, 33.8858, 92.0484)
Luminance0.3388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281F7 #B6F781
analogous
#8781F7 #C281F7 #F781F1
triadic
#C281F7 #F7C281 #81F7C2
tetradic
#C281F7 #F78781 #B6F781 #81F1F7
square
#C281F7 #F78781 #B6F781 #81F1F7
split-complementary
#C281F7 #F1F781 #81F787
monochromatic
#8A0FEE #A647F3 #C281F7 #DEBBFB #F1E2FD

Accessibility & contrast

On white

2.70
#C281F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#C281F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281F7
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281F7#FFFFFF#000000##000000
##C281F71.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#BB95B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c281f7;
/* rgb */ color: rgb(194, 129, 247);
/* oklch */ color: oklch(71.6% 0.176 308.0);
Tailwind
colors: {
  custom: {
    50: '#d7a7fa',
    500: '#c281f7',
    950: '#000000',
  },
}
SCSS
$custom: #c281f7;
$custom-light: #d7a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c281f7",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 273.051,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71635,
    "c": 0.17616,
    "h": 308
  },
  "luminance": 0.33885
}

Semantic roles & 50–950 ramp

primary
#C281F7
secondary
#E4F5D6
accent
#E50167
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C281F7

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

Preview Lab → · Contrast checker → · Palette generator →

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