#FF38FC#FF38FC

#FF38FC is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 71.7% C 0.297 H 328.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#FF38FC
RGBrgb(255, 56, 252)
HSLhsl(301, 100%, 61%)
HSVhsv(301, 78%, 100%)
CMYKcmyk(0%, 78%, 1.2%, 0%)
CIE-LABlab(62.61, 90.62, -55.52)
CIE-LCHlch(62.61, 106.27, 328.51°)
OKLaboklab(71.73% 0.2544 -0.1539)
OKLCHoklch(71.73% 0.297 328.8)
XYZxyz(60.2243, 31.1213, 94.9117)
Luminance0.3112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF38FC #38FF3B
analogous
#9F38FF #FF38FC #FF3898
triadic
#FF38FC #FCFF38 #38FCFF
tetradic
#FF38FC #FF9F38 #38FF3B #3898FF
square
#FF38FC #FF9F38 #38FF3B #3898FF
split-complementary
#FF38FC #98FF38 #38FF9F
monochromatic
#BD00BA #FA00F6 #FF38FC #FF75FD #FFB2FE

Accessibility & contrast

On white

2.91
#FF38FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#FF38FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF38FC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF38FC#FFFFFF#000000##000000
##FF38FC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#FF5A9B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ff38fc;
/* rgb */ color: rgb(255, 56, 252);
/* oklch */ color: oklch(71.7% 0.297 328.8);
Tailwind
colors: {
  custom: {
    50: '#ff86fe',
    500: '#ff38fc',
    950: '#000000',
  },
}
SCSS
$custom: #ff38fc;
$custom-light: #ff86fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ff38fc",
  "rgb": {
    "r": 255,
    "g": 56,
    "b": 252
  },
  "hsl": {
    "h": 300.905,
    "s": 100,
    "l": 60.98
  },
  "oklch": {
    "l": 0.71727,
    "c": 0.29727,
    "h": 328.8
  },
  "luminance": 0.31117
}

Semantic roles & 50–950 ramp

primary
#FF38FC
secondary
#A4EFA5
accent
#E60300
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#190D18
muted
#877E86

Preview Lab

Preview with #FF38FC

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

Preview Lab → · Contrast checker → · Palette generator →

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