#D234BF#D234BF

#D234BF is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.6% C 0.238 H 333.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D234BF
RGBrgb(210, 52, 191)
HSLhsl(307, 64%, 51%)
HSVhsv(307, 75%, 82%)
CMYKcmyk(0%, 75.2%, 9%, 17.6%)
CIE-LABlab(51.75, 73.75, -38.68)
CIE-LCHlch(51.75, 83.28, 332.32°)
OKLaboklab(61.57% 0.2136 -0.1061)
OKLCHoklch(61.57% 0.239 333.6)
XYZxyz(37.2106, 19.9224, 51.1658)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D234BF #34D247
analogous
#9634D2 #D234BF #D23470
triadic
#D234BF #BFD234 #34BFD2
tetradic
#D234BF #D29634 #34D247 #3470D2
square
#D234BF #D29634 #34D247 #3470D2
split-complementary
#D234BF #70D234 #34D296
monochromatic
#721968 #A42495 #D234BF #DD66CF #E898DF

Accessibility & contrast

On white

4.21
#D234BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D234BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D234BF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D234BF#FFFFFF#000000##000000
##D234BF1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC3
Deuteranopia (green-blind)
#6B83BB
Tritanopia (blue-blind)
#DC4477
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d234bf;
/* rgb */ color: rgb(210, 52, 191);
/* oklch */ color: oklch(61.6% 0.238 333.6);
Tailwind
colors: {
  custom: {
    50: '#e47cd3',
    500: '#d234bf',
    950: '#000000',
  },
}
SCSS
$custom: #d234bf;
$custom-light: #e47cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#d234bf",
  "rgb": {
    "r": 210,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 307.215,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.2385,
    "h": 333.6
  },
  "luminance": 0.19919
}

Semantic roles & 50–950 ramp

primary
#D234BF
secondary
#8ED496
accent
#E75541
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D234BF

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

Preview Lab → · Contrast checker → · Palette generator →

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