#CF38C3#CF38C3

#CF38C3 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.6% C 0.236 H 331.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CF38C3
RGBrgb(207, 56, 195)
HSLhsl(305, 61%, 52%)
HSVhsv(305, 73%, 81%)
CMYKcmyk(0%, 72.9%, 5.8%, 18.8%)
CIE-LABlab(51.88, 72.49, -40.82)
CIE-LCHlch(51.88, 83.20, 330.61°)
OKLaboklab(61.63% 0.2073 -0.1124)
OKLCHoklch(61.63% 0.236 331.5)
XYZxyz(36.9966, 20.0369, 53.5381)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38C3 #38CF44
analogous
#9038CF #CF38C3 #CF3878
triadic
#CF38C3 #C3CF38 #38C3CF
tetradic
#CF38C3 #CF9038 #38CF44 #3878CF
square
#CF38C3 #CF9038 #38CF44 #3878CF
split-complementary
#CF38C3 #78CF38 #38CF90
monochromatic
#711B6A #A32799 #CF38C3 #DB69D2 #E79BE1

Accessibility & contrast

On white

4.19
#CF38C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CF38C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38C3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38C3#FFFFFF#000000##000000
##CF38C31.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC7
Deuteranopia (green-blind)
#6883BF
Tritanopia (blue-blind)
#D74A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf38c3;
/* rgb */ color: rgb(207, 56, 195);
/* oklch */ color: oklch(61.6% 0.236 331.5);
Tailwind
colors: {
  custom: {
    50: '#e27dd5',
    500: '#cf38c3',
    950: '#000000',
  },
}
SCSS
$custom: #cf38c3;
$custom-light: #e27dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38c3",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 304.768,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61632,
    "c": 0.23581,
    "h": 331.5
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#CF38C3
secondary
#90D395
accent
#E45044
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CF38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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