#D138FF#D138FF

#D138FF is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 65.5% C 0.282 H 316.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D138FF
RGBrgb(209, 56, 255)
HSLhsl(286, 100%, 61%)
HSVhsv(286, 78%, 100%)
CMYKcmyk(18%, 78%, 0%, 0%)
CIE-LABlab(55.69, 82.86, -68.66)
CIE-LCHlch(55.69, 107.61, 320.35°)
OKLaboklab(65.52% 0.2055 -0.1936)
OKLCHoklch(65.52% 0.282 316.7)
XYZxyz(45.7559, 23.6056, 96.7345)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D138FF #66FF38
analogous
#6D38FF #D138FF #FF38C9
triadic
#D138FF #FFD138 #38FFD1
tetradic
#D138FF #FF6D38 #66FF38 #38C9FF
square
#D138FF #FF6D38 #66FF38 #38C9FF
split-complementary
#D138FF #C9FF38 #38FF6D
monochromatic
#9100BD #C000FA #D138FF #DF75FF #EDB2FF

Accessibility & contrast

On white

3.67
#D138FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D138FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D138FF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D138FF#FFFFFF#000000##000000
##D138FF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#398AFB
Tritanopia (blue-blind)
#CE679C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d138ff;
/* rgb */ color: rgb(209, 56, 255);
/* oklch */ color: oklch(65.5% 0.282 316.7);
Tailwind
colors: {
  custom: {
    50: '#e480ff',
    500: '#d138ff',
    950: '#000000',
  },
}
SCSS
$custom: #d138ff;
$custom-light: #e480ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d138ff",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 255
  },
  "hsl": {
    "h": 286.131,
    "s": 100,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6552,
    "c": 0.28227,
    "h": 316.7
  },
  "luminance": 0.23604
}

Semantic roles & 50–950 ramp

primary
#D138FF
secondary
#B5EFA4
accent
#E60035
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #D138FF

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

Preview Lab → · Contrast checker → · Palette generator →

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