#C281F8#C281F8

#C281F8 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.7% C 0.177 H 307.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#C281F8
RGBrgb(194, 129, 248)
HSLhsl(273, 89%, 74%)
HSVhsv(273, 48%, 97%)
CMYKcmyk(21.8%, 48%, 0%, 2.7%)
CIE-LABlab(64.92, 46.70, -50.15)
CIE-LCHlch(64.92, 68.52, 312.96°)
OKLaboklab(71.69% 0.1085 -0.1402)
OKLCHoklch(71.69% 0.177 307.7)
XYZxyz(47.0383, 33.9477, 92.8633)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281F8 #B7F881
analogous
#8781F8 #C281F8 #F881F3
triadic
#C281F8 #F8C281 #81F8C2
tetradic
#C281F8 #F88781 #B7F881 #81F3F8
square
#C281F8 #F88781 #B7F881 #81F3F8
split-complementary
#C281F8 #F3F881 #81F887
monochromatic
#8A0DF1 #A647F5 #C281F8 #DEBBFB #F1E2FD

Accessibility & contrast

On white

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

On black

7.79
#C281F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281F8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281F8#FFFFFF#000000##000000
##C281F81.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#BA95B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c281f8;
/* rgb */ color: rgb(194, 129, 248);
/* oklch */ color: oklch(71.7% 0.177 307.7);
Tailwind
colors: {
  custom: {
    50: '#d7a7fb',
    500: '#c281f8',
    950: '#000000',
  },
}
SCSS
$custom: #c281f8;
$custom-light: #d7a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c281f8",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 272.773,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71687,
    "c": 0.17731,
    "h": 307.7
  },
  "luminance": 0.33947
}

Semantic roles & 50–950 ramp

primary
#C281F8
secondary
#E4F5D6
accent
#E60068
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C281F8

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

Preview Lab → · Contrast checker → · Palette generator →

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