#D285FB#D285FB

#D285FB is a light, vivid violet. Relative luminance 0.374; OKLCH L 74.1% C 0.180 H 312.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#D285FB
RGBrgb(210, 133, 251)
HSLhsl(279, 94%, 75%)
HSVhsv(279, 47%, 98%)
CMYKcmyk(16.3%, 47%, 0%, 1.6%)
CIE-LABlab(67.61, 49.54, -47.44)
CIE-LCHlch(67.61, 68.59, 316.24°)
OKLaboklab(74.12% 0.1224 -0.132)
OKLCHoklch(74.12% 0.18 312.8)
XYZxyz(52.3755, 37.4429, 95.7162)
Luminance0.3744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D285FB #AEFB85
analogous
#9785FB #D285FB #FB85E9
triadic
#D285FB #FBD285 #85FBD2
tetradic
#D285FB #FB9785 #AEFB85 #85E9FB
square
#D285FB #FB9785 #AEFB85 #85E9FB
split-complementary
#D285FB #E9FB85 #85FB97
monochromatic
#A60EF7 #BC4AF9 #D285FB #E8C0FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.49
#D285FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D285FB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D285FB#FFFFFF#000000##000000
##D285FB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FF
Deuteranopia (green-blind)
#81A7F8
Tritanopia (blue-blind)
#CE97B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d285fb;
/* rgb */ color: rgb(210, 133, 251);
/* oklch */ color: oklch(74.1% 0.180 312.8);
Tailwind
colors: {
  custom: {
    50: '#e2aafd',
    500: '#d285fb',
    950: '#000000',
  },
}
SCSS
$custom: #d285fb;
$custom-light: #e2aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#d285fb",
  "rgb": {
    "r": 210,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 279.153,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74119,
    "c": 0.18001,
    "h": 312.8
  },
  "luminance": 0.37442
}

Semantic roles & 50–950 ramp

primary
#D285FB
secondary
#E0F6D5
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D285FB

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

Preview Lab → · Contrast checker → · Palette generator →

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