#C875F8#C875F8

#C875F8 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.5% C 0.198 H 311.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C875F8
RGBrgb(200, 117, 248)
HSLhsl(278, 90%, 72%)
HSVhsv(278, 53%, 97%)
CMYKcmyk(19.4%, 52.8%, 0%, 2.7%)
CIE-LABlab(63.16, 54.52, -52.89)
CIE-LCHlch(63.16, 75.96, 315.86°)
OKLaboklab(70.53% 0.1314 -0.148)
OKLCHoklch(70.53% 0.198 311.6)
XYZxyz(47.1210, 31.7803, 92.4407)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C875F8 #A5F875
analogous
#8775F8 #C875F8 #F875E7
triadic
#C875F8 #F8C875 #75F8C8
tetradic
#C875F8 #F88775 #A5F875 #75E7F8
square
#C875F8 #F88775 #A5F875 #75E7F8
split-complementary
#C875F8 #E7F875 #75F887
monochromatic
#970CE7 #B13BF5 #C875F8 #DFAFFB #F3E2FE

Accessibility & contrast

On white

2.85
#C875F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#C875F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C875F8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C875F8#FFFFFF#000000##000000
##C875F81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FC
Deuteranopia (green-blind)
#6C9BF5
Tritanopia (blue-blind)
#C38BAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c875f8;
/* rgb */ color: rgb(200, 117, 248);
/* oklch */ color: oklch(70.5% 0.198 311.6);
Tailwind
colors: {
  custom: {
    50: '#db9ffb',
    500: '#c875f8',
    950: '#000000',
  },
}
SCSS
$custom: #c875f8;
$custom-light: #db9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#c875f8",
  "rgb": {
    "r": 200,
    "g": 117,
    "b": 248
  },
  "hsl": {
    "h": 278.015,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7053,
    "c": 0.19796,
    "h": 311.6
  },
  "luminance": 0.31779
}

Semantic roles & 50–950 ramp

primary
#C875F8
secondary
#E0F5D4
accent
#E60054
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C875F8

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

Preview Lab → · Contrast checker → · Palette generator →

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