#C852F9#C852F9

#C852F9 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.2% C 0.247 H 314.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#C852F9
RGBrgb(200, 82, 249)
HSLhsl(282, 93%, 65%)
HSVhsv(282, 67%, 98%)
CMYKcmyk(19.7%, 67.1%, 0%, 2.4%)
CIE-LABlab(57.23, 70.96, -62.92)
CIE-LCHlch(57.23, 94.84, 318.44°)
OKLaboklab(66.23% 0.1726 -0.1772)
OKLCHoklch(66.23% 0.247 314.2)
XYZxyz(43.9327, 25.1549, 92.1453)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852F9 #83F952
analogous
#7452F9 #C852F9 #F952D7
triadic
#C852F9 #F9C852 #52F9C8
tetradic
#C852F9 #F97452 #83F952 #52D7F9
square
#C852F9 #F97452 #83F952 #52D7F9
split-complementary
#C852F9 #D7F952 #52F974
monochromatic
#9107CA #B517F7 #C852F9 #DB8DFB #EEC8FD

Accessibility & contrast

On white

3.48
#C852F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#C852F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852F9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852F9#FFFFFF#000000##000000
##C852F91.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FE
Deuteranopia (green-blind)
#4A8CF5
Tritanopia (blue-blind)
#C4749F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c852f9;
/* rgb */ color: rgb(200, 82, 249);
/* oklch */ color: oklch(66.2% 0.247 314.2);
Tailwind
colors: {
  custom: {
    50: '#dd8bfc',
    500: '#c852f9',
    950: '#000000',
  },
}
SCSS
$custom: #c852f9;
$custom-light: #dd8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c852f9",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 249
  },
  "hsl": {
    "h": 282.395,
    "s": 93.296,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66233,
    "c": 0.24733,
    "h": 314.2
  },
  "luminance": 0.25154
}

Semantic roles & 50–950 ramp

primary
#C852F9
secondary
#C8F0B7
accent
#E60043
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #C852F9

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

Preview Lab → · Contrast checker → · Palette generator →

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