#D285FE#D285FE

#D285FE is a light, vivid violet. Relative luminance 0.376; OKLCH L 74.3% C 0.183 H 312.1°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#D285FE
RGBrgb(210, 133, 254)
HSLhsl(278, 98%, 76%)
HSVhsv(278, 48%, 100%)
CMYKcmyk(17.3%, 47.6%, 0%, 0.4%)
CIE-LABlab(67.75, 50.17, -48.85)
CIE-LCHlch(67.75, 70.03, 315.76°)
OKLaboklab(74.27% 0.1228 -0.1361)
OKLCHoklch(74.27% 0.183 312.1)
XYZxyz(52.8521, 37.6336, 98.2265)
Luminance0.3763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D285FE #B1FE85
analogous
#9585FE #D285FE #FE85ED
triadic
#D285FE #FED285 #85FED2
tetradic
#D285FE #FE9585 #B1FE85 #85EDFE
square
#D285FE #FE9585 #B1FE85 #85EDFE
split-complementary
#D285FE #EDFE85 #85FE95
monochromatic
#A50CFD #BC48FE #D285FE #E8C2FE #F4E1FF

Accessibility & contrast

On white

2.46
#D285FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#D285FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D285FE
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D285FE#FFFFFF#000000##000000
##D285FE1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#CE98B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d285fe;
/* rgb */ color: rgb(210, 133, 254);
/* oklch */ color: oklch(74.3% 0.183 312.1);
Tailwind
colors: {
  custom: {
    50: '#e2aaff',
    500: '#d285fe',
    950: '#000000',
  },
}
SCSS
$custom: #d285fe;
$custom-light: #e2aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#d285fe",
  "rgb": {
    "r": 210,
    "g": 133,
    "b": 254
  },
  "hsl": {
    "h": 278.182,
    "s": 98.374,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74271,
    "c": 0.1833,
    "h": 312.1
  },
  "luminance": 0.37632
}

Semantic roles & 50–950 ramp

primary
#D285FE
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D285FE

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

Preview Lab → · Contrast checker → · Palette generator →

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