#D285FC#D285FC

#D285FC is a light, vivid violet. Relative luminance 0.375; OKLCH L 74.2% C 0.181 H 312.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#D285FC
RGBrgb(210, 133, 252)
HSLhsl(279, 95%, 75%)
HSVhsv(279, 47%, 99%)
CMYKcmyk(16.7%, 47.2%, 0%, 1.2%)
CIE-LABlab(67.66, 49.75, -47.91)
CIE-LCHlch(67.66, 69.07, 316.08°)
OKLaboklab(74.17% 0.1225 -0.1334)
OKLCHoklch(74.17% 0.181 312.6)
XYZxyz(52.5335, 37.5061, 96.5486)
Luminance0.3750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D285FC #AFFC85
analogous
#9785FC #D285FC #FC85EA
triadic
#D285FC #FCD285 #85FCD2
tetradic
#D285FC #FC9785 #AFFC85 #85EAFC
square
#D285FC #FC9785 #AFFC85 #85EAFC
split-complementary
#D285FC #EAFC85 #85FC97
monochromatic
#A60EF9 #BC49FB #D285FC #E8C1FD #F4E1FE

Accessibility & contrast

On white

2.47
#D285FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#D285FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D285FC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D285FC#FFFFFF#000000##000000
##D285FC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#CE97B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d285fc;
/* rgb */ color: rgb(210, 133, 252);
/* oklch */ color: oklch(74.2% 0.181 312.6);
Tailwind
colors: {
  custom: {
    50: '#e2aafe',
    500: '#d285fc',
    950: '#000000',
  },
}
SCSS
$custom: #d285fc;
$custom-light: #e2aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#d285fc",
  "rgb": {
    "r": 210,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 278.824,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7417,
    "c": 0.1811,
    "h": 312.6
  },
  "luminance": 0.37505
}

Semantic roles & 50–950 ramp

primary
#D285FC
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D285FC

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

Preview Lab → · Contrast checker → · Palette generator →

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