#FB6AF2#FB6AF2
#FB6AF2 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.9% C 0.233 H 330.1°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #FB6AF2 |
|---|---|
| RGB | rgb(251, 106, 242) |
| HSL | hsl(304, 95%, 70%) |
| HSV | hsv(304, 58%, 98%) |
| CMYK | cmyk(0%, 57.8%, 3.6%, 1.6%) |
| CIE-LAB | lab(67.45, 71.50, -42.39) |
| CIE-LCH | lch(67.45, 83.12, 329.34°) |
| OKLab | oklab(74.94% 0.2022 -0.1163) |
| OKLCH | oklch(74.94% 0.233 330.1) |
| XYZ | xyz(60.9643, 37.2322, 87.9627) |
| Luminance | 0.3723 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 1.82
Light Magenta
#FA5FF7
ΔE00 2.01
Violet Pink
#FB5FFC
ΔE00 2.35
Purply Pink
#F075E6
ΔE00 2.59
Violet (CSS)
#EE82EE
ΔE00 4.23
Orchid
#DA70D6
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB6AF2 #6AFB73
analogous
#BB6AFB #FB6AF2 #FB6AAA
triadic
#FB6AF2 #F2FB6A #6AF2FB
tetradic
#FB6AF2 #FBBB6A #6AFB73 #6AAAFB
square
#FB6AF2 #FBBB6A #6AFB73 #6AAAFB
split-complementary
#FB6AF2 #AAFB6A #6AFBBB
monochromatic
#E406D7 #F92EED #FB6AF2 #FDA6F7 #FEE1FC
Accessibility & contrast
On white
2.49
#FB6AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#FB6AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB6AF2
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB6AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB6AF2 | 1.00 | 2.49 | 8.45 | 8.45 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6098F6
Deuteranopia (green-blind)
#8FABEE
Tritanopia (blue-blind)
#FF79A5
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #fb6af2; /* rgb */ color: rgb(251, 106, 242); /* oklch */ color: oklch(74.9% 0.233 330.1);
Tailwind
colors: {
custom: {
50: '#ff9cf7',
500: '#fb6af2',
950: '#000000',
},
}SCSS
$custom: #fb6af2; $custom-light: #ff9cf7; $custom-dark: #000000;
JSON
{
"hex": "#fb6af2",
"rgb": {
"r": 251,
"g": 106,
"b": 242
},
"hsl": {
"h": 303.724,
"s": 94.771,
"l": 70
},
"oklch": {
"l": 0.74943,
"c": 0.23332,
"h": 330.1
},
"luminance": 0.37228
}Semantic roles & 50–950 ramp
primary
#FB6AF2
secondary
#CCF5CF
accent
#E60E00
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#180F17
muted
#867F85