#CF38CF#CF38CF

#CF38CF is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.3% C 0.245 H 328.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF38CF
RGBrgb(207, 56, 207)
HSLhsl(300, 61%, 52%)
HSVhsv(300, 73%, 81%)
CMYKcmyk(0%, 72.9%, 0%, 18.8%)
CIE-LABlab(52.51, 74.35, -46.73)
CIE-LCHlch(52.51, 87.82, 327.85°)
OKLaboklab(62.29% 0.2075 -0.1295)
OKLCHoklch(62.29% 0.245 328)
XYZxyz(38.4083, 20.6015, 60.9729)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38CF #38CF38
analogous
#8438CF #CF38CF #CF3884
triadic
#CF38CF #CFCF38 #38CFCF
tetradic
#CF38CF #CF8438 #38CF38 #3884CF
square
#CF38CF #CF8438 #38CF38 #3884CF
split-complementary
#CF38CF #84CF38 #38CF84
monochromatic
#711B71 #A327A3 #CF38CF #DB69DB #E79BE7

Accessibility & contrast

On white

4.10
#CF38CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CF38CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38CF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38CF#FFFFFF#000000##000000
##CF38CF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1771D3
Deuteranopia (green-blind)
#6284CB
Tritanopia (blue-blind)
#D55081
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf38cf;
/* rgb */ color: rgb(207, 56, 207);
/* oklch */ color: oklch(62.3% 0.245 328.0);
Tailwind
colors: {
  custom: {
    50: '#e27ede',
    500: '#cf38cf',
    950: '#000000',
  },
}
SCSS
$custom: #cf38cf;
$custom-light: #e27ede;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38cf",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.62289,
    "c": 0.24457,
    "h": 328
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#CF38CF
secondary
#90D390
accent
#E44444
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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