#F075DC#F075DC

#F075DC is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.9% C 0.193 H 333.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#F075DC
RGBrgb(240, 117, 220)
HSLhsl(310, 80%, 70%)
HSVhsv(310, 51%, 94%)
CMYKcmyk(0%, 51.3%, 8.3%, 5.9%)
CIE-LABlab(66.84, 60.13, -31.27)
CIE-LCHlch(66.84, 67.78, 332.53°)
OKLaboklab(73.88% 0.1732 -0.0849)
OKLCHoklch(73.88% 0.193 333.9)
XYZxyz(55.2148, 36.4189, 71.8176)
Luminance0.3641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F075DC #75F089
analogous
#C675F0 #F075DC #F0759F
triadic
#F075DC #DCF075 #75DCF0
tetradic
#F075DC #F0C675 #75F089 #759FF0
square
#F075DC #F0C675 #75F089 #759FF0
split-complementary
#F075DC #9FF075 #75F0C6
monochromatic
#D417B5 #EA3ECE #F075DC #F6ACEA #FCE3F8

Accessibility & contrast

On white

2.54
#F075DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#F075DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F075DC
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F075DC#FFFFFF#000000##000000
##F075DC1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DF
Deuteranopia (green-blind)
#97A9D9
Tritanopia (blue-blind)
#FA7C9F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f075dc;
/* rgb */ color: rgb(240, 117, 220);
/* oklch */ color: oklch(73.9% 0.193 333.9);
Tailwind
colors: {
  custom: {
    50: '#f7a1e7',
    500: '#f075dc',
    950: '#000000',
  },
}
SCSS
$custom: #f075dc;
$custom-light: #f7a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f075dc",
  "rgb": {
    "r": 240,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 309.756,
    "s": 80.392,
    "l": 70
  },
  "oklch": {
    "l": 0.73882,
    "c": 0.19286,
    "h": 333.9
  },
  "luminance": 0.36415
}

Semantic roles & 50–950 ramp

primary
#F075DC
secondary
#CFF2D5
accent
#DD2B09
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F075DC

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

Preview Lab → · Contrast checker → · Palette generator →

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