#CF38B9#CF38B9

#CF38B9 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.1% C 0.229 H 334.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CF38B9
RGBrgb(207, 56, 185)
HSLhsl(309, 61%, 52%)
HSVhsv(309, 73%, 81%)
CMYKcmyk(0%, 72.9%, 10.6%, 18.8%)
CIE-LABlab(51.38, 71.00, -35.81)
CIE-LCHlch(51.38, 79.52, 333.24°)
OKLaboklab(61.11% 0.2067 -0.0979)
OKLCHoklch(61.11% 0.229 334.7)
XYZxyz(35.9036, 19.5997, 47.7817)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38B9 #38CF4E
analogous
#9A38CF #CF38B9 #CF386E
triadic
#CF38B9 #B9CF38 #38B9CF
tetradic
#CF38B9 #CF9A38 #38CF4E #386ECF
square
#CF38B9 #CF9A38 #38CF4E #386ECF
split-complementary
#CF38B9 #6ECF38 #38CF9A
monochromatic
#711B65 #A32791 #CF38B9 #DB69CA #E79BDC

Accessibility & contrast

On white

4.27
#CF38B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CF38B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38B9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38B9#FFFFFF#000000##000000
##CF38B91.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#366CBD
Deuteranopia (green-blind)
#6D82B5
Tritanopia (blue-blind)
#D94575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf38b9;
/* rgb */ color: rgb(207, 56, 185);
/* oklch */ color: oklch(61.1% 0.229 334.7);
Tailwind
colors: {
  custom: {
    50: '#e27dce',
    500: '#cf38b9',
    950: '#000000',
  },
}
SCSS
$custom: #cf38b9;
$custom-light: #e27dce;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38b9",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 308.742,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61113,
    "c": 0.22877,
    "h": 334.7
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#CF38B9
secondary
#90D39A
accent
#E45B44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF38B9

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

Preview Lab → · Contrast checker → · Palette generator →

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