#C875F2#C875F2

#C875F2 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.2% C 0.192 H 313.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#C875F2
RGBrgb(200, 117, 242)
HSLhsl(280, 83%, 70%)
HSVhsv(280, 52%, 95%)
CMYKcmyk(17.4%, 51.7%, 0%, 5.1%)
CIE-LABlab(62.86, 53.25, -50.07)
CIE-LCHlch(62.86, 73.09, 316.76°)
OKLaboklab(70.21% 0.131 -0.1398)
OKLCHoklch(70.21% 0.192 313.1)
XYZxyz(46.2050, 31.4139, 87.6167)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C875F2 #9FF275
analogous
#8975F2 #C875F2 #F275DD
triadic
#C875F2 #F2C875 #75F2C8
tetradic
#C875F2 #F28975 #9FF275 #75DDF2
square
#C875F2 #F28975 #9FF275 #75DDF2
split-complementary
#C875F2 #DDF275 #75F289
monochromatic
#9614D8 #B23DED #C875F2 #DEADF7 #F4E3FC

Accessibility & contrast

On white

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

On black

7.28
#C875F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C875F2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C875F2#FFFFFF#000000##000000
##C875F21.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#C489A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c875f2;
/* rgb */ color: rgb(200, 117, 242);
/* oklch */ color: oklch(70.2% 0.192 313.1);
Tailwind
colors: {
  custom: {
    50: '#db9ff7',
    500: '#c875f2',
    950: '#000000',
  },
}
SCSS
$custom: #c875f2;
$custom-light: #db9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#c875f2",
  "rgb": {
    "r": 200,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 279.84,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70206,
    "c": 0.19155,
    "h": 313.1
  },
  "luminance": 0.31413
}

Semantic roles & 50–950 ramp

primary
#C875F2
secondary
#DCF3D0
accent
#DF064F
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C875F2

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

Preview Lab → · Contrast checker → · Palette generator →

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