#F38EF2#F38EF2
#F38EF2 is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.7% C 0.173 H 327.4°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #F38EF2 |
|---|---|
| RGB | rgb(243, 142, 242) |
| HSL | hsl(301, 81%, 75%) |
| HSV | hsv(301, 42%, 95%) |
| CMYK | cmyk(0%, 41.6%, 0.4%, 4.7%) |
| CIE-LAB | lab(72.77, 52.54, -34.18) |
| CIE-LCH | lch(72.77, 62.68, 326.95°) |
| OKLab | oklab(78.66% 0.146 -0.0933) |
| OKLCH | oklch(78.66% 0.173 327.4) |
| XYZ | xyz(62.6610, 44.8145, 89.3367) |
| Luminance | 0.4481 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.62
Lavender Pink
#DD85D7
ΔE00 4.97
Purply Pink
#F075E6
ΔE00 5.00
Plum
#DDA0DD
ΔE00 7.13
Candy Pink
#FF63E9
ΔE00 7.39
Orchid
#DA70D6
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F38EF2 #8EF38F
analogous
#C18EF3 #F38EF2 #F38EBF
triadic
#F38EF2 #F2F38E #8EF2F3
tetradic
#F38EF2 #F3C18E #8EF38F #8EBFF3
square
#F38EF2 #F3C18E #8EF38F #8EBFF3
split-complementary
#F38EF2 #BFF38E #8EF3C1
monochromatic
#E71FE5 #ED57EC #F38EF2 #F9C5F8 #FCE3FC
Accessibility & contrast
On white
2.11
#F38EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#F38EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F38EF2
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F38EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F38EF2 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AAF6
Deuteranopia (green-blind)
#A2B7EF
Tritanopia (blue-blind)
#F998B5
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #f38ef2; /* rgb */ color: rgb(243, 142, 242); /* oklch */ color: oklch(78.7% 0.173 327.4);
Tailwind
colors: {
custom: {
50: '#f9b1f6',
500: '#f38ef2',
950: '#000000',
},
}SCSS
$custom: #f38ef2; $custom-light: #f9b1f6; $custom-dark: #000000;
JSON
{
"hex": "#f38ef2",
"rgb": {
"r": 243,
"g": 142,
"b": 242
},
"hsl": {
"h": 300.594,
"s": 80.8,
"l": 75.49
},
"oklch": {
"l": 0.78663,
"c": 0.17329,
"h": 327.4
},
"luminance": 0.44811
}Semantic roles & 50–950 ramp
primary
#F38EF2
secondary
#D7F4D7
accent
#DD0A08
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085