#D237FF#D237FF

#D237FF is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 65.6% C 0.283 H 317.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D237FF
RGBrgb(210, 55, 255)
HSLhsl(287, 100%, 61%)
HSVhsv(287, 78%, 100%)
CMYKcmyk(17.6%, 78.4%, 0%, 0%)
CIE-LABlab(55.74, 83.31, -68.57)
CIE-LCHlch(55.74, 107.90, 320.54°)
OKLaboklab(65.59% 0.2073 -0.1933)
OKLCHoklch(65.59% 0.283 317)
XYZxyz(45.9918, 23.6560, 96.7318)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D237FF #64FF37
analogous
#6E37FF #D237FF #FF37C8
triadic
#D237FF #FFD237 #37FFD2
tetradic
#D237FF #FF6E37 #64FF37 #37C8FF
square
#D237FF #FF6E37 #64FF37 #37C8FF
split-complementary
#D237FF #C8FF37 #37FF6E
monochromatic
#9100BC #C100F9 #D237FF #E074FF #EEB1FF

Accessibility & contrast

On white

3.66
#D237FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D237FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D237FF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D237FF#FFFFFF#000000##000000
##D237FF1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#3A8AFB
Tritanopia (blue-blind)
#D0669C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d237ff;
/* rgb */ color: rgb(210, 55, 255);
/* oklch */ color: oklch(65.6% 0.283 317.0);
Tailwind
colors: {
  custom: {
    50: '#e580ff',
    500: '#d237ff',
    950: '#000000',
  },
}
SCSS
$custom: #d237ff;
$custom-light: #e580ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d237ff",
  "rgb": {
    "r": 210,
    "g": 55,
    "b": 255
  },
  "hsl": {
    "h": 286.5,
    "s": 100,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65585,
    "c": 0.28343,
    "h": 317
  },
  "luminance": 0.23654
}

Semantic roles & 50–950 ramp

primary
#D237FF
secondary
#B4EFA3
accent
#E60034
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#170C18
muted
#857D86

Preview Lab

Preview with #D237FF

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

Preview Lab → · Contrast checker → · Palette generator →

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