#C874FF#C874FF

#C874FF is a light, highly saturated violet. Relative luminance 0.320; OKLCH L 70.8% C 0.207 H 310.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#C874FF
RGBrgb(200, 116, 255)
HSLhsl(276, 100%, 73%)
HSVhsv(276, 55%, 100%)
CMYKcmyk(21.6%, 54.5%, 0%, 0%)
CIE-LABlab(63.34, 56.52, -56.47)
CIE-LCHlch(63.34, 79.89, 315.03°)
OKLaboklab(70.78% 0.1331 -0.1584)
OKLCHoklch(70.78% 0.207 310)
XYZxyz(48.1114, 31.9910, 98.2288)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C874FF #ABFF74
analogous
#8274FF #C874FF #FF74F0
triadic
#C874FF #FFC874 #74FFC8
tetradic
#C874FF #FF8274 #ABFF74 #74F0FF
square
#C874FF #FF8274 #ABFF74 #74F0FF
split-complementary
#C874FF #F0FF74 #74FF82
monochromatic
#9600F9 #B037FF #C874FF #E0B1FF #F3E0FF

Accessibility & contrast

On white

2.84
#C874FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#C874FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C874FF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C874FF#FFFFFF#000000##000000
##C874FF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#679BFC
Tritanopia (blue-blind)
#C18DAF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c874ff;
/* rgb */ color: rgb(200, 116, 255);
/* oklch */ color: oklch(70.8% 0.207 310.0);
Tailwind
colors: {
  custom: {
    50: '#dc9fff',
    500: '#c874ff',
    950: '#000000',
  },
}
SCSS
$custom: #c874ff;
$custom-light: #dc9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#c874ff",
  "rgb": {
    "r": 200,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 276.259,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70777,
    "c": 0.20695,
    "h": 310
  },
  "luminance": 0.3199
}

Semantic roles & 50–950 ramp

primary
#C874FF
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C874FF

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

Preview Lab → · Contrast checker → · Palette generator →

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