#F0D5FF#F0D5FF

#F0D5FF is a very light, moderate violet. Relative luminance 0.733; OKLCH L 90.8% C 0.063 H 313.6°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#F0D5FF
RGBrgb(240, 213, 255)
HSLhsl(279, 100%, 92%)
HSVhsv(279, 16%, 100%)
CMYKcmyk(5.9%, 16.5%, 0%, 0%)
CIE-LABlab(88.61, 16.78, -17.01)
CIE-LCHlch(88.61, 23.90, 314.60°)
OKLaboklab(90.82% 0.0436 -0.0458)
OKLCHoklch(90.82% 0.063 313.6)
XYZxyz(77.7765, 73.3344, 104.6460)
Luminance0.7333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D5FF #E4FFD5
analogous
#DBD5FF #F0D5FF #FFD5F9
triadic
#F0D5FF #FFF0D5 #D5FFF0
tetradic
#F0D5FF #FFDBD5 #E4FFD5 #D5F9FF
square
#F0D5FF #FFDBD5 #E4FFD5 #D5F9FF
split-complementary
#F0D5FF #F9FFD5 #D5FFDB
monochromatic
#C45BFF #DA98FF #F0D5FF #F4E0FF #F4E0FF

Accessibility & contrast

On white

1.34
#F0D5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#F0D5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D5FF
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D5FF#FFFFFF#000000##000000
##F0D5FF1.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0DDFF
Deuteranopia (green-blind)
#D5DFFE
Tritanopia (blue-blind)
#EFDAE3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0d5ff;
/* rgb */ color: rgb(240, 213, 255);
/* oklch */ color: oklch(90.8% 0.063 313.6);
Tailwind
colors: {
  custom: {
    50: '#f5e2ff',
    500: '#f0d5ff',
    950: '#000000',
  },
}
SCSS
$custom: #f0d5ff;
$custom-light: #f5e2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d5ff",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 255
  },
  "hsl": {
    "h": 278.571,
    "s": 100,
    "l": 91.765
  },
  "oklch": {
    "l": 0.9082,
    "c": 0.06323,
    "h": 313.6
  },
  "luminance": 0.73334
}

Semantic roles & 50–950 ramp

primary
#F0D5FF
secondary
#AFEB8D
accent
#E60052
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171518
muted
#858486

Preview Lab

Preview with #F0D5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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